News:

Looking for documentation? Take a look on our wiki

Main Menu

Required registration items virtuemart for nations

Started by pellegrinoL, March 13, 2020, 16:25:55 PM

Previous topic - Next topic

pellegrinoL

Hi,
I was wondering if there is the possibility to have optional required registration items virtuemart for nations, because there are some fields that I need for Italian Customers that are not necessary for the other countries.

Best Regards

GJC Web Design

you can hide/show fields (and switch off and on validation) by JS

see http://forum.virtuemart.net/index.php?topic=143259.msg510779#msg510779

obviously the 'if' would be country id in your case

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

pellegrinoL

Thanks for the quick answer,

I am not able to do any change in JS unfortunately.

pellegrinoL

Are you able to create a custom plugin for this?

Quote from: GJC Web Design on March 13, 2020, 16:50:46 PM
you can hide/show fields (and switch off and on validation) by JS

see http://forum.virtuemart.net/index.php?topic=143259.msg510779#msg510779

obviously the 'if' would be country id in your case

GJC Web Design

It doesn't need a plugin ... just adding the necessary JS to the template over rides works fine..

PM me if you want me to do this
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