sdancer75 Posted July 14, 2015 Share Posted July 14, 2015 (edited) I am using presta 1.6 and I have selected to hide the vat from all group users. But I want one exception. I want in the product template file to show both prices with and without vat. I have the price without vat already and I am OK with that. From the other side what script can I use to show the price included vat ? Regards Edited July 14, 2015 by sdancer75 (see edit history) Link to comment Share on other sites More sharing options...
sdancer75 Posted July 15, 2015 Author Share Posted July 15, 2015 (edited) I am using presta 1.6 and I have selected to hide the vat from all group users. But I want one exception. I want in the product template file to show both prices with and without vat. I have the price without vat already and I am OK with that. From the other side what script can I use to show the price included vat ? Regards Ok I found a solution. I excluded VAT from all groups. Then when I want print the price with vat included, I just replace/add the following script in my theme {convertPrice price=$productPrice * ( ($product->tax_rate / 100) + 1 )} which is the calc of the tax rate the specific product belogs. Edited July 15, 2015 by sdancer75 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now