Hello everyone,
I set an exchange rate manually, but it only works when I am logged in to shopify admin.
If I am using another web browser, another computer or if I am logged out of shopify admin, the automatic exchange rate is used.
I'm coding a custom theme from scratch and I know that's where the problem is because if I preview the store on an unedited shopify theme (Debut), the prices are displayed as expected (with the manual exchange rate).
code used for the price in my custom theme:
{% for product in collection.products %}
...
<p>{{ product.price | money_without_trailing_zeros }}</p>
...
{% endfor %}
Someone has an idea where this strange problem could come from?
Thanks for helping.
Solved! Go to the solution
Hello,
after some test I have determined that the problem was in fact not my custom theme. The prices are displayed as expected (with the manual exchange rate) with any theme (Debut or mine) if I use the preview.
I tried to publish an unedited Shopify theme (Debut) and the price is not the same if I'm logged in or not to shopify admin.
Someone knows that it is the difference between preview and publish?
User | Count |
---|---|
24 | |
24 | |
23 | |
19 | |
13 |