Shopify themes, liquid, logos, and UX
Hi All,
Using the Maestroo theme WAREHOUSE
Does anyone have a working / workable solution to show Price £xxx.xx ex VAT and then £xxx.xx inc VAT immediately underneath it?
The fix would need to be implemented without the use of a subscription based app and would need to be something that could be added to the existing theme code.
It wouldn't have to look precisely like the screenshot below, but something "like" this would work well.
Many thanks in advance for any help you can offer.
Below is the code required to calculate and display the price including 20% VAT. I'm not familiar with how your theme is structured but look for main-product.liquid or similar, and place the code below the current price display. You can replace the CUSTOM_CLASS with a pre-existing one for styling.
{% assign vat_rate = 0.2 %}
{% assign base_price = product.price %}
{% assign vat_amount = base_price | times: vat_rate %}
{% assign final_price = base_price | plus: vat_amount %}
<div class="CUSTOM_CLASS"> {{ final_price | money }} inc VAT </div>
Hope this helps
Hi!
If you provide the exact link to the relevant page, I can help you!
Terence.
What's the password?
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024