Hi, I am simply trying to print product price in custom location.
Here is the code I use:
{% assign custom_product = all_products[‘product-handle’] %}> {{ custom_product.price }}
However, sometime when I load the page, the price is not correct
original price: 314> > showed price: 1215473
Is there anything I can do to fix this?
Hi, thank you for your reply. I am using Debut theme
can you try rendering {{ product.price }} instead of {{ custom_product.price }}
it looks like taking the price of all price present in collection
Sorry, for late reply. When I try to print {{ product.price }} on product page, I also have the same problem. I think the problem is in the currency settings but I cannot figure out whats wrong since this only happen on some device (not all). I set the price on USD but when I check using one of my laptop which connect wifi, the product price shows local currency.