VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: gofer123 on January 12, 2015, 03:23:34 AM

Title: Sales tax to show only in cart
Post by: gofer123 on January 12, 2015, 03:23:34 AM
Hi all,
I've tried to work this out before with no joy.
I'm trying to display all products without sales tax, the sales tax is to only show in the cart, can someone show me how to do this please, thanks.

VirtueMart 3.0.0
Joomla 3.3.6 Stable
PHP 5.5.12
Title: Re: Sales tax to show only in cart
Post by: GJC Web Design on January 12, 2015, 08:46:52 AM
doesn't work in earlier VM3 - fixed in 3.0.3
Title: Re: Sales tax to show only in cart
Post by: AH on January 12, 2015, 09:12:59 AM
what type of tax are you setting

if vat tax per product then I think you have to do a mod to the product prices display
Title: Re: Sales tax to show only in cart
Post by: GJC Web Design on January 12, 2015, 13:55:59 PM
think he means "tax per bill" .. it is what they use on the other side of the pond to show tax ONLY when the address has been filled (state taxes etc)
I know all this from my Taxcloud experience..   :P
Title: Re: Sales tax to show only in cart
Post by: gofer123 on January 13, 2015, 08:00:49 AM
Thanks for the replies folks,
I'm in New Zealand where there is Goods and Services Tax 15% (GST) that applies to all products on this site, added to the retail price.
My client prefers the shoppers to view all products with the pricing without the GST, only when they checkout they see the GST amount on each product, hope that makes sense?
cheers
Title: Re: Sales tax to show only in cart
Post by: AH on January 13, 2015, 10:23:15 AM
So what is the tax that you have set in VM admin??
Title: Re: Sales tax to show only in cart
Post by: jenkinhill on January 13, 2015, 12:33:10 PM
You need to show the GST next to each product only on checkout? I'd set the taxes to display in VM configuration, then use template overrides to "hide" the tax display on category & product details pages.
Title: Re: Sales tax to show only in cart
Post by: AH on January 13, 2015, 21:08:46 PM
That's what I was going to say but was waiting to confirm that they had set line item tax!

Oh well, serves me right for waiting on an answer to my query!
Title: Re: Sales tax to show only in cart
Post by: gofer123 on January 13, 2015, 21:47:52 PM
Thank you for your replies folks, appreciate your help.
I've gone to Language Manager/Overrides/new and pasted "PricetaxAmount" but not getting any matches, where else should I be looking.
Cheers
Title: Re: Sales tax to show only in cart
Post by: AH on January 13, 2015, 23:00:33 PM
You have to sett to show  tax price in your VM price display settings or you wont get any line item tax in cart

So then to stop these showing in browse and product pages do a template override to the prices sublayout

templates/yourtemplate/html/com_virtuemart/sublayouts/prices.php


and comment out the elements you do not want to see from the prices display


e.g.
//echo $currency->createPriceDiv ('taxAmount', 'COM_VIRTUEMART_PRODUCT_TAX_AMOUNT', $product->prices);
Title: Re: Sales tax to show only in cart
Post by: gofer123 on January 13, 2015, 23:39:04 PM
Many thanks Hutson, will drop a note to the forum when done.
Cheers
Title: Re: Sales tax to show only in cart
Post by: gofer123 on January 15, 2015, 20:32:20 PM
Many thanks folks, I really appreciate your help and time, working perfectly.
My next challenge is how do I make the same adjustment for the tax included price for qty break pricing when using custom fields.
Cheers
Title: Re: Sales tax to show only in cart
Post by: gofer123 on January 31, 2015, 07:34:09 AM
Hi all,
Sorry to bang on about this but I'm haven't been able to hide the Tax on the products that have quantity break pricing, single item pricing is working well thanks to help from previous replys. Can someone have an answer for this?
https://www.skydentalglobal.com/index.php/purchase-dental-implant-surgical-instruments-dental-supplies/protective-clothing
Cheers
Title: Re: Sales tax to show only in cart
Post by: gofer123 on February 03, 2015, 02:03:59 AM
Problem solved if anybody is interested, dead simple, just unncheck this "Display variant prices with tax" in Pricing config.
Cheers
Title: Re: Sales tax to show only in cart
Post by: stefane321 on February 05, 2015, 23:18:03 PM
Whatever i unncheck this "Display variant prices with tax" in Pricing config it still display taxes in price

i have vm 3.0.4
Title: Re: Sales tax to show only in cart
Post by: AH on February 06, 2015, 09:25:42 AM
try reply #9

You need to do a price display override
Title: Re: Sales tax to show only in cart
Post by: gofer123 on February 07, 2015, 01:16:41 AM
Hi,
I'm no expert in Virtuemart but I think you would need to edit the files like I have done, have a look at the earlier posts I have received.
Cheers
Title: Re: Sales tax to show only in cart
Post by: nishal on May 19, 2015, 13:44:10 PM
Hi,

i am also having a similar problem, if you look at this page on my website I require the prices to show excluding taxes (VAT). This has been defined in virtuemart and all my products have the tax (VAT) applied.

http://plasticcentre.co.uk/pc/index.php/underground/underground-system/110mm-underground-drainage

I would really appreciate any help!

Thanks
Title: Re: Sales tax to show only in cart
Post by: jenkinhill on May 19, 2015, 15:27:25 PM
You will have to edit the template override for price display (sublayouts/prices.php) - or get the template supplier to provide the files for you as the code appears to be set to show only the final sales price with tax.