News:

Support the VirtueMart project and become a member

Main Menu

Calculate VAT in cart based on a dropdown to choose from

Started by PeterG, May 21, 2014, 18:06:02 PM

Previous topic - Next topic

PeterG

Hello,

I'm looking for a solution to handle VAT in my cart. I live in Belgium and I must give the buyer the oppotunity to select his VAT for his order.

Vat is calculated article based

I must choose from 0% VAT (medecontractant) 6% (renovation) and 21% (nieuwbouw)

Anyone who can point me into the wright direction how to handle this issue ?

I don't know of any plugin, but I'like to know where the cart is recalculatedand where the tax rules are stored (is this a SESSION ?)

Thnx for the help.

Peter

GJC Web Design

the rules that are applied and therefore the product price are calculated in the monster administrator/components/com_virtuemart/helpers/calculationh.php 1650 lines long

basically   public function getProductPrices()  &  public function calculateCostprice()

I doubt you could configure a "voluntary" choice in VM - so would need to be coded
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