For the complete documentation index, see llms.txt. This page is also available as Markdown.

Install Infinite Options on a Shopify 1.0 Theme

Shopify 1.0 themes don't support app blocks. Instead, you'll add a small snippet of code to your product template to tell your theme where your Infinite Options fields should appear.

If you are editing code for the first time, we recommend duplicating your theme before making any changes.

You only need to add the Infinite Options snippet once for each product template. Once it's installed, every Option Set assigned to that product will display automatically.

Step 1: Open your theme code editor

  1. From your Shopify admin, go to Online Store, then Themes.

  2. Find your current theme.

  3. Click Actions, then Edit code.

Step 2: Locate your product template

Different Shopify 1.0 themes use different file names for product templates. Look for one of the following:

• main-product.liquid • product-template.liquid • product.liquid

These files are usually located in:

• The Sections folder • The Templates folder

Open the file that contains your product information, including the product form and Add to Cart button.

Step 3: Find the product form

Use the search bar at the top of the code editor to search for:

This helps you locate the product form, where Shopify displays the product price, variants, quantity selector, and Add to Cart button.

Step 4: Locate the quantity selector

Locate the quantity selector inside the product form. In many Shopify themes, you'll see code similar to:

If your theme uses different code, look for the quantity input or quantity selector instead.

Step 5: Insert the Infinite Options snippet

Create a new line above the quantity selector and paste the following snippet:

Paste the following snippet on a new line immediately above the quantity selector.

This tells your theme where to display your option fields on the product page.

Step 6: Save your changes

Click Save in the upper right corner of the code editor.

Your installation is now complete.


Step 7: Create and assign your options

Once you've saved your changes, any Option Sets you create and assign in Infinite Options will appear on your product pages. You can now begin creating and assigning Option Sets from the Infinite Options app.

Troubleshooting

I cannot find my product template file Try searching for these filenames: main-product.liquid, product-template.liquid, or product.liquid. Themes vary.

I pasted the snippet but the options are not showing Check the following: • The snippet is inside the product form • The snippet is above the quantity selector • You saved your changes • The correct product template is being used for the product you are testing

My theme has multiple product templates Open the product in Shopify and check its assigned template under the Theme template setting. Edit that specific file.

I am uncomfortable editing code Consider duplicating your theme first or reaching out to our support team for help.


Last updated