# 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.**

![](/files/b2nCWMvTH35rvVLnDIFm)

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.

![](/files/IyT8x7CGnCH6mAiAOs2F)

7\. Save your changes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shoppad.gitbook.io/infinite-options/managing-your-options/featured-product-homepage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
