Goal: show both prices (without and with tax) on Shopify Ride theme product pages.
Initial guidance: Edit theme code to render two prices. A helper suggested adding Liquid code in product-template.liquid; the OP instead found relevant files main-product.liquid and price.liquid.
Resolution for OP: Editing price.liquid fixed it. They computed a tax price at 20% (times: 1.20), then displayed money_price with “HT” (ex‑tax) and tax_money_price with “TTC” (tax included). Code snippets are central to the solution.
Alternative approach: An app (T Selector) was proposed to let shoppers toggle between including/excluding VAT, with a note that multiple prices per product might risk Google Merchant Center issues; the app aims to keep listings compliant.
Follow‑ups and open items: Others asked for help implementing and where exactly to place the code. One user needs the inverse logic when the product price already includes tax (show ex‑tax as 20% lower). Another shared a product link seeking assistance.
Notes: Liquid is Shopify’s templating language. VAT is value‑added tax; “HT” means price excluding tax, “TTC” means price including all taxes. Status: OP resolved; further questions remain open (placement guidance and tax‑included price handling).
Summarized with AI on December 31.
AI used: gpt-5.
We are OneCommerce - an eCommerce Solution Platform.
For your problem, you can try follow these steps to add the right code:
Go to your Store → Themes → Click “Actions” → “Edit Code”
Look for the file named product-template.liquid in the file list. If you can’t find it, try searching for a file named product.liquid or product-page.liquid.
Add the following code to the product-template.liquid file:
Note that this code should be added to the appropriate place in the product-template.liquid file, where the product price is being displayed.
Hope this is work for you. Please don’t be hesitate to contact us if you need any further support.
Please hit the Like button or mark it as Accepted Solution if this is useful for you, it means a lot to us.
Thank you for reaching out about adding prices with tax to your product page.
I would like to suggest a solution that might be even more beneficial for you. We’ve developed an app called T Selector that can help with this issue.
Instead of just adding a new line under the existing price, our app adds a button where customers can conveniently switch between seeing prices including or excluding VAT in your store.
There are two main benefits to using our app:
Cleaner and more personalized experience: By showing the correct price for each customer, your store will look cleaner and more professional.
Compliance with Google Merchant Center: Using our app will ensure that you won’t get banned from Google Merchant Center. Google has strict guidelines on pricing, and showing multiple prices per product can lead to account suspension. With our app, you won’t have to worry about this issue, even if you have discounted prices which will show more than the maximum 2 prices.