Liquid, JavaScript, themes, sales channels
Hello,
We have a site that uses an external API to show diamonds and sync them with the shopify admin. The issue is that there is a major inconsistency between currency conversion in liquid vs javascript. For example:
https://samuelandstone.com/collections/diamonds?nonav
https://samuelandstone.com/collections/diamonds/products/oval-diamond-398?nonav
Switch to AUD. The first diamond here is:
Ok, I set up a test site: https://samuelandstonedev.myshopify.com/collections/all (pass: vowseg)
The product has the same price as the example in the original post.
I manually installed the bold multicurrency app and got it working (despite broken instructions re: Liquid error: include usage is not allowed in this context). I need to mess with the CSS in the devtools to see the currency dropdown but it's there and i can change the currency.
So now that app gives me the following AUD price: $2,636.89 AUD
Still about $40 difference to the shopify javascript conversion.
So now I need to replace the shopify currency conversion javascript with bold currency conversion. I found this, and it works for getting cart prices correct: https://support.boldcommerce.com/hc/en-us/articles/360044339852-Using-AJAX-Themes-with-Custom-Pricin...
Now I need to manually convert the prices after they come back from the API, but I can't find any documentation to do this. I will need to contact bold commerce to see if there is a way.
@tbone1 , if you still have issue with currency conversion after installing bold currency, You can contact Bold Support, they will dive deep into the problem and fix this for you for free.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024