manual exchange rates only work when I'm logged in shopify admin - custom theme

Solved
Highlighted
Tourist
3 1 0

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.

0 Likes
Highlighted
Tourist
3 1 0

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? 

0 Likes
Highlighted
Tourist
3 1 0

This is an accepted solution.

Follow-up :

This issue has been fixed by the developers of Shopify. 

It is due to the fact that the manual exchange rate is only available for the shopify plan or higher.

0 Likes