# Featured Product/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** pag&#x65;**.**

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

![](https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2Fgit-blob-1687e08738673d0175261b4e8b989df329b92a3a%2Fdocsassets555e25e4e4b027e1978e1c9aimages59b1d5fc2c7d3a73488cb210file-s0chdozrng.png?alt=media)

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

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

4\. Copy the following code snippet.

```html
<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.

![](https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2Fgit-blob-54fad00cd090e7d2d8223d823e4fa10c9f904b6e%2Fdocsassets555e25e4e4b027e1978e1c9aimages5a59126e2c7d3a19436830d9file-s2gv7kgdv3.png?alt=media)

7\. Save your changes.
