In these scenarios, it is recommended that you use the global option_selection.js script to output a drop down for each option, making it easier for the visitor to select a specific variant. I accidentally have deleted the sections/product-template.liquid file. Log in to your account to manage your business. Returns the highest compare at price of all the product's variants entered in the Shopify admin. You can use the liquid variable product.selected_or_first_available_variant to automatically select a product variant in the drop down based on either the variant linked in the URL, or the product variants' stock level. The product.media object is used to create a for loop that iterates over each media item associated with a product. Returns the lowest compare at price of all the product's variants entered in the Shopify admin. Welcome to the Shopify Community! Returns the lowest compare at price of all the product's variants entered in the Shopify admin. This static section can be added to product pages, to display product recommendations based on data from sales, product descriptions, and relations between products ⦠Liquid has been used in Shopify as a language template for more than a decade. The object keys of options_by_name are case-insensitive. Returns an image object of the product's featured image. Alias for product.description. The product.liquid file renders a detailed page for an individual product. For a variant to be available, its variant.inventory_quantity must be greater than zero or variant.inventory_policy must be set to continue. Access our comprehensive Liquid guide and take your Shopify theme development skills to the next level. Returns the name of the custom product template assigned to the product, without the product. It includes an HTML