Imagine I have a product with 2 types of variants, size and colour. A variant would be Small + Red OR Large + Blue.
In Theme Editor > Landing Page > Featured Product Section > Custom Liquid Block, I am trying to display the price dynamically based on the variant’s price using the following code. However, it does not show anything.
{{ product.price }}
Thank you in advance!
Hi @hellome1
Please follow these steps:
-
You login to your store
-
Select the product list page in the menu section
- Select the product you want to change the price according to Variants and add the Options
- Then don’t forget to set the prices for the Variants at the bottom of the Options section
- Save the product page you have changed the options and see the results.
I hope that this can help you solve the issue.