Liquid, JavaScript, themes, sales channels
Return management just got easier! We’ve launched Customer Self-Serve Returns to all Shopify merchants. Click here to learn more!
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
User | RANK |
---|---|
11 | |
10 | |
10 | |
7 | |
6 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022