VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: vigier on May 14, 2012, 23:18:53 PM

Title: Show TAX in shopping cart, but not on category view
Post by: vigier on May 14, 2012, 23:18:53 PM
Hi,

I can select various types of prices to show, for example the TAX.
What I want to show in the big shopping cart is: Sales prices without tax, tax itself and the total price
What I want to show in the article overview as seen in for example Newest articles of articles by certain manufacturer is only the sales prices without tax.

Does anybody know how to do that? If I uncheck the boxes Show label and Show value for "Tax" in the shop configuration then it's never shown.

Kind regards,
Vigier.

P.S. I hope I used the correct names of the fields, since I had to translate them from Dutch.
Title: Re: Show TAX in shopping cart, but not on category view
Post by: vigier on May 14, 2012, 23:50:02 PM
Sorry to bother you, but I have already solved it by overriding a few php files...
Title: Re: Show TAX in shopping cart, but not on category view
Post by: chasester123 on May 23, 2012, 05:41:25 AM
Would you please share with me the php files you changed and what you changed in them? I would be very grateful for your assistance.
Title: Re: Show TAX in shopping cart, but not on category view
Post by: vigier on May 27, 2012, 01:56:10 AM
Hi,

to be honest, I don't know which files I changed (override). But I think it was default_addtocart.php and default_showprices.php. Just comment out the lines that show the fields you don't want to see.
Title: Re: Show TAX in shopping cart, but not on category view
Post by: kerzo on August 27, 2012, 02:15:43 AM
Similar to the problem.
I rewrote the php (default_showprice) -> the specification price has changed

BUT the frontpage is the same page :(

This is product page: http://oberonhosting.hu/~biofutar/index.php/szemelyi-higienia/aloe-ever-shield-deodorant-detail
(the price is OK)

This is the frontpage: http://oberonhosting.hu/~biofutar/index.php
(the price is wrong)

Can anyone help? Where to I find the proper PHP file?

THX