Post by darkjoker09 » Wed Jan 10, 2018 10:37 pm

Hello every one, i'm using Opencart 3.0.2.0 and i have a problem
Some of my product's price have VAT already. So i want to display the final price (including VAT) on my product page, the row below price (the row with tax price) i want to show the text: "VAT included" in stead of tax price because tax price always equal to price.
My way is create a tax class named "VAT" then i will choose it in my product admin page. And i will check in front end page if one product have tax class = "VAT", it will show the text "VAT included". Can anyone show me the code to do that in product template page.

Newbie

Posts

Joined
Fri May 26, 2017 10:10 pm

Post by straightlight » Sat Jan 13, 2018 11:18 pm

See this extension: https://www.opencart.com/index.php?rout ... n_id=29946 . It can also be easily converted into v3.x releases or you may also use this free extension to avoid converting TPL coding into TWIG coding afterwards: https://www.opencart.com/index.php?rout ... n_id=31589

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 21 guests