Liquid, JavaScript, themes, sales channels
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
Solved! Go to the solution
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.
Hi @Smithy_Dave,
Please add code:
{{ 499 | money }} and {{ 599 | money }}
It will help you to display the currency and convert it.
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.
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.
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.
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.
Thank you for this, I thought it might be the case - but had hoped there might be a simpler work around.
Hi @Smithy_Dave,
If you have any difficulty, you can contact me 🙂
Happy to help you
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023