Hello.
At my product page it automaticly updates the price upon selection of variant.
But i want it to show the price with currency.
My code is currently:
jQuery('#product-price').html('<span class="product-price">'+ Shopify.formatMoney(variant.price, "{{ shop.money_format }}") + '</span>' );
This code shows the price, WIHTOUT currency.
Hi Anders!
Replace with:
jQuery('#product-price').html('<span class="product-price">'+ Shopify.formatMoney(variant.price, "{{ shop.money_with_currency_format }}") + '</span>' );
Let me know how that goes!
User | Count |
---|---|
395 | |
202 | |
146 | |
42 | |
40 |