Page 1 of 1
How to show the product with the VAT included
Posted: Sun Jan 29, 2012 1:32 am
by TheMac
Hello, I can´t find this option in the control panel.
I only want to show in the product the price included the VAT.
Thanks!
Re: How to show the product with the VAT included
Posted: Sun Jan 29, 2012 3:09 am
by JAY6390
SYSTEM > SETTINGS
Click Edit next to your store
Click the Option tab
The third option down should be "Display prices with Tax"
Re: How to show the product with the VAT included
Posted: Sun Jan 29, 2012 3:31 am
by TheMac
I don´t think this exactly. I want than when I add a price in a product this price have included the VAT
Re: How to show the product with the VAT included
Posted: Sun Jan 29, 2012 4:35 am
by straightlight
Politically, VAT should be calculated per order ... not per added products since Taxes and / or VAT are usually based on the total, not by the item price ...
Re: How to show the product with the VAT included
Posted: Sun Jan 29, 2012 8:13 pm
by TheMac
Yes, I understand. But I don´t like, I like to show with the VAT all the products

Re: How to show the product with the VAT included
Posted: Sun Jan 29, 2012 8:27 pm
by ritey
Re: How to show the product with the VAT included
Posted: Mon Jan 30, 2012 4:49 am
by TheMac
Well, I think that the solution is to put the product price without VAT
Re: How to show the product with the VAT included
Posted: Mon Jan 30, 2012 4:53 am
by straightlight
TheMac wrote:Well, I think that the solution is to put the product price without VAT
TheMac wrote:Yes, I understand. But I don´t like, I like to show with the VAT all the products

Unless I'm overseeing this solution, when I read those two sentences, I read the opposite on the 2nd one of what you stated previously ...
Re: How to show the product with the VAT included
Posted: Mon Jan 30, 2012 6:16 am
by TheMac
jeje yes I don´t have explained very well.
When I add a product I want to put the price with the VAT, for example 19$.
I have find the solution to put the price without the VAT, for example 16,1 (VAT 18%)... and then the price will be 19%
Re: How to show the product with the VAT included
Posted: Mon Jan 30, 2012 5:37 pm
by bfer
When I set "Display prices with Tax" I get 2 lines with every product:
1st- price with the tax.
2nd- price without the tax.
But how can I hide the second row which shows the price without the tax?
Re: How to show the product with the VAT included
Posted: Mon Jan 30, 2012 6:36 pm
by webvet
bfer
To remove this line, you need to alter the .tpl files within the catalog/view/theme/YOURTHEME/template/product/*.tpl files. Start with the main Product page (which is product.tpl) and around line 41 (default theme) find:
Code: Select all
<span class="price-tax"><?php echo $text_tax; ?> <?php echo $tax; ?></span><br />
and comment it out using <!-- and --> as:
Code: Select all
<!-- <span class="price-tax"><?php echo $text_tax; ?> <?php echo $tax; ?></span><br /> -->
This should remove the line containing the ex vat price. You can then follow this on and repeat it for any other pages (such as the category page, search results etc) as you want to.
Would be worth searching the free vqmod forum section as this would avoid having to make changes to these files manually?
Re: How to show the product with the VAT included
Posted: Mon Jan 30, 2012 8:17 pm
by bfer
webvet wrote:bfer
To remove this line, you need to alter the .tpl files within the catalog/view/theme/YOURTHEME/template/product/*.tpl files. Start with the main Product page (which is product.tpl) and around line 41 (default theme) find:
Code: Select all
<span class="price-tax"><?php echo $text_tax; ?> <?php echo $tax; ?></span><br />
and comment it out using <!-- and --> as:
Code: Select all
<!-- <span class="price-tax"><?php echo $text_tax; ?> <?php echo $tax; ?></span><br /> -->
This should remove the line containing the ex vat price. You can then follow this on and repeat it for any other pages (such as the category page, search results etc) as you want to.
Would be worth searching the free vqmod forum section as this would avoid having to make changes to these files manually?
That was fast and effective!
Thank you, just what I needed!
Re: How to show the product with the VAT included
Posted: Mon Jan 30, 2012 8:31 pm
by webvet
No problem!

Re: How to show the product with the VAT included
Posted: Mon Jan 30, 2012 10:07 pm
by straightlight
Would be worth searching the free vqmod forum section as this would avoid having to make changes to these files manually?
While this statement is partly true, custom templates wouldn't require the use of VQMod since it wouldn't affect anything after an upgrade anyhow.

Re: How to show the product with the VAT included
Posted: Tue Feb 14, 2012 10:23 am
by picobo
webvet wrote:bfer
To remove this line, you need to alter the .tpl files within the catalog/view/theme/YOURTHEME/template/product/*.tpl files. Start with the main Product page (which is product.tpl) and around line 41 (default theme) find:
Code: Select all
<span class="price-tax"><?php echo $text_tax; ?> <?php echo $tax; ?></span><br />
and comment it out using <!-- and --> as:
Code: Select all
<!-- <span class="price-tax"><?php echo $text_tax; ?> <?php echo $tax; ?></span><br /> -->
This should remove the line containing the ex vat price. You can then follow this on and repeat it for any other pages (such as the category page, search results etc) as you want to.
Would be worth searching the free vqmod forum section as this would avoid having to make changes to these files manually?
hey webvet, thank you for the info!
I've created a vQmod as per your suggestions, worked for me on OCv1.5.1.3 in a custom template.
Sharing it with the community...
Re: How to show the product with the VAT included
Posted: Thu May 31, 2012 11:47 pm
by robster
Remember to remove ex tax from Search page too.... perhaps an update the xml file to add that would be a good idea!
Rob