Author Topic: using extrafields for taxes  (Read 6519 times)


  • Beginner
  • *
  • Posts: 14
using extrafields for taxes
« on: July 24, 2014, 12:21:50 pm »

i have a complex problem.
I have to apply VAT taxes only to private users and not to companies. Now, i have this idea:
in the registration form, i add a select field (by using extrafields in virtuemart) where the user can select if he is a private or a company. After this step, i calculate the taxes only if he select "private"...

Now: how i can use in php files, the "PHPSHOP_SHOPPER_FORM_EXTRA_FIELD_4" ?

Is there other idea?

Thank you!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10022
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: using extrafields for taxes
« Reply #1 on: July 24, 2014, 19:34:14 pm »
Using VM1.1? 

Are you really going to let your customers decide whether they pay tax or not without any checking?  Don't think you'll stand a chance in a law court when the tax office decides to recover the tax you didn't legally charge....

There is a VM2.5 ext to do it legally -

won't of course work on VM1.1 but there may have been a 1.1 version - can't remember

The proper way to do this is in registration - get them to fill there EU VAT ID - check it againt the VIES database - if valid allow them to checkout without tax

GJC Web Design
VirtueMart and Joomla Developers - php developers
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
Contact for any VirtueMart or Joomla development & customisation


  • Beginner
  • *
  • Posts: 14
Re: using extrafields for taxes
« Reply #2 on: August 21, 2014, 15:34:08 pm »

I didn't know anything about this plugin.
I've wrote to the developer of that plugin but i see blank page.
Now: is there some plugin for vm 1.1?