How to display a price within HTML / Body that would convert when a different currency is selected

Solved
Smithy_Dave
New Member
4 0 0

Hi, I'd like to display shipping from prices on a product page / blog post for example 

Royal Mail International from: £4.99
DPD from: £5.99

Where the £4.99 / £5.99 would convert if the visitor changed the site currency. 

What code would be needed please? 

Thanks

Accepted Solution (1)

Accepted Solutions
LitCommerce
Trailblazer
266 68 70

This is an accepted solution.

Hi @Smithy_Dave,

This is not possible, it is only added directly with edit code. At 'Delivery & Returns' you can only enter the HTML code and it won't be able to convert when a different currency is selected.

So if you want it to show in the products tab you need to go to the code of the 'sections/product-template.liquid' file and add the code directly here.

Hope it is clear to you.

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!

View solution in original post

Replies 7 (7)
LitCommerce
Trailblazer
266 68 70

Hi @Smithy_Dave,

Please add code:

{{ 499 | money }} and {{ 599 | money }}

It will help you to display the currency and convert it.

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!
Smithy_Dave
New Member
4 0 0

Thanks for the response I've added

<h3>DPD Next Day - {{ 599 | money }}.</h3>

but it displays when the page renders as 

DPD Next Day - {{ 599 | money }}.

It's a tab about the postage costs populated by Accentuate Custom Fields - not sure if that would make any difference? 

Thank you. 

 




LitCommerce
Trailblazer
266 68 70

Hi @Smithy_Dave,

Did you add the code directly in the source or just through Customize. 

Can you send me the screenshot where you added the code. I will check it.

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!
Smithy_Dave
New Member
4 0 0

Hi, 

No code has been added in the shopify editor as I'd like the pricing to be with in the text. So I'm putting the code in the editor, after selecting HTML then saving, however this clearly isn't being saved as html. 

Screenshot 2021-11-15 at 09.53.00.png



Screenshot 2021-11-11 at 15.45.23.png

LitCommerce
Trailblazer
266 68 70

This is an accepted solution.

Hi @Smithy_Dave,

This is not possible, it is only added directly with edit code. At 'Delivery & Returns' you can only enter the HTML code and it won't be able to convert when a different currency is selected.

So if you want it to show in the products tab you need to go to the code of the 'sections/product-template.liquid' file and add the code directly here.

Hope it is clear to you.

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!

View solution in original post

Smithy_Dave
New Member
4 0 0

Thank you for this, I thought it might be the case - but had hoped there might be a simpler work around. 

LitCommerce
Trailblazer
266 68 70

Hi @Smithy_Dave,

If you have any difficulty, you can contact me

Happy to help you

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool.
Effortlessly sell on biggest marketplaces like Amazon, Etsy, eBay, Facebook etc with bulk listing tool, real-time sync & smart order management. Use LitCommerce free for 1-year now!