I want to show the price of my product once a user has selected the variants. Currently the price is sitting at the top of the product page (beneath the product name) but I also want it to show above the ‘Add to Cart’ button, underneath the variant selections.
https://aurea-fine-jewellery.myshopify.com/products/radiant-eternity-ring
Anyone able to help me with this?
- In the “Sections” or “Templates” folder, locate the file responsible for displaying the individual product details. This file is typically named
product.liquid or product-template.liquid.
- Open the
product.liquid or product-template.liquid file.
- Locate the section where the variant selection options and “Add to Cart” button are displayed. This section typically includes a
form element or a series of select elements for variant selection.
- Add the following code snippet below the variant selection section to display the price:
{% if product.price %}
{{ product.price | money }}
{% endif %}
Hello, I am experiencing the same error, but I do not know how to fix it. I tried to do what you said, but I could never find the product.liquid or product-template.liquid file. I have been searching for hours. Can you show me a photo?