News:

Support the VirtueMart project and become a member

Main Menu

Sales tax to show only in cart

Started by gofer123, January 12, 2015, 03:23:34 AM

Previous topic - Next topic

gofer123

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

GJC Web Design

doesn't work in earlier VM3 - fixed in 3.0.3
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

AH

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
Regards
A

Joomla 3.10.11
php 8.0

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gofer123

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

AH

So what is the tax that you have set in VM admin??
Regards
A

Joomla 3.10.11
php 8.0

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

AH

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!
Regards
A

Joomla 3.10.11
php 8.0

gofer123

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

AH

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);
Regards
A

Joomla 3.10.11
php 8.0

gofer123

Many thanks Hutson, will drop a note to the forum when done.
Cheers

gofer123

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

gofer123

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

gofer123

Problem solved if anybody is interested, dead simple, just unncheck this "Display variant prices with tax" in Pricing config.
Cheers

stefane321

Whatever i unncheck this "Display variant prices with tax" in Pricing config it still display taxes in price

i have vm 3.0.4