Post by TheMac » Sun Jan 29, 2012 1:32 am

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!

Newbie

Posts

Joined
Fri Dec 02, 2011 5:15 am

Post by JAY6390 » Sun Jan 29, 2012 3:09 am

SYSTEM > SETTINGS
Click Edit next to your store
Click the Option tab

The third option down should be "Display prices with Tax"

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by TheMac » Sun Jan 29, 2012 3:31 am

I don´t think this exactly. I want than when I add a price in a product this price have included the VAT

Newbie

Posts

Joined
Fri Dec 02, 2011 5:15 am

Post by straightlight » Sun Jan 29, 2012 4:35 am

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 ...

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by TheMac » Sun Jan 29, 2012 8:13 pm

Yes, I understand. But I don´t like, I like to show with the VAT all the products :(

Newbie

Posts

Joined
Fri Dec 02, 2011 5:15 am

User avatar
Active Member

Posts

Joined
Fri Jan 22, 2010 4:28 am
Location - Richmond

Post by TheMac » Mon Jan 30, 2012 4:49 am

Well, I think that the solution is to put the product price without VAT

Newbie

Posts

Joined
Fri Dec 02, 2011 5:15 am

Post by straightlight » Mon Jan 30, 2012 4:53 am

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 ...

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by TheMac » Mon Jan 30, 2012 6:16 am

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%

Newbie

Posts

Joined
Fri Dec 02, 2011 5:15 am

Post by bfer » Mon Jan 30, 2012 5:37 pm

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?

Newbie

Posts

Joined
Tue Dec 13, 2011 4:46 pm

Post by webvet » Mon Jan 30, 2012 6:36 pm

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?

Genuine, Honest Opencart Support @ http://webvetservices.com


User avatar
Active Member

Posts

Joined
Thu May 14, 2009 2:04 am
Location - Shropshire, UK

Post by bfer » Mon Jan 30, 2012 8:17 pm

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!

Newbie

Posts

Joined
Tue Dec 13, 2011 4:46 pm

Post by webvet » Mon Jan 30, 2012 8:31 pm

No problem!

:banana:

Genuine, Honest Opencart Support @ http://webvetservices.com


User avatar
Active Member

Posts

Joined
Thu May 14, 2009 2:04 am
Location - Shropshire, UK

Post by straightlight » Mon Jan 30, 2012 10:07 pm

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. ;)

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by picobo » Tue Feb 14, 2012 10:23 am

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...

Attachments


Newbie

Posts

Joined
Sat Feb 11, 2012 6:59 am

Post by robster » Thu May 31, 2012 11:47 pm

Remember to remove ex tax from Search page too.... perhaps an update the xml file to add that would be a good idea!

Rob

I know my place...!


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 8:08 pm
Location - North Yorkshire, UK
Who is online

Users browsing this forum: No registered users and 70 guests