Use Infinite Options with a product on the homepage

Follow the instructions below to use Infinite Options with a product on the homepage.

1. Starting from your Shopify admin dashboard, click on  Online Store to arrive at the Themes page.

2. Find the theme you want to edit, click the   Actions ▼ button, then click Edit code.

3. Click on the featured-product.liquid file located in the Sections folder.

Note that there may a different filename depending on the theme on your store. Another common name is home-product.liquid.

4. Copy the following code snippet.

<script type="text/javascript">  window.productJSON = window.productJSON || {{ product | json }};</script>

5. Look for this code:

{%- assign product = all_products[section.settings.featured_product] -%}

6. Paste the code snippet you copied in step 4 below the code in step 5 on the  featured-product.liquid file.

7. Save your changes.

Still need help? Contact Us Contact Us