The product options element shows a set of options available for the parent product card. When the user selects the options, Looop updates the price, the compare price, and the hero picture. You can design product options using a dropdown or radio button.Documentation Index
Fetch the complete documentation index at: https://docs.uselooop.com/llms.txt
Use this file to discover all available pages before exploring further.
Setup
We will create a template for product options. This template will be used to create product options for each product card.
- Create a div block and give it the following Attribute:
- Inside the div block, create a text block and give it the following Attribute:
What will be updated?
On page load for each Shopify product option, we will duplicate theproduct-option-wrapper and update the product-option-name and product-option-select with the product option name and values.