News:

Support the VirtueMart project and become a member

Main Menu

How to make a field selection in the shopping cart

Started by DrShepard, May 07, 2021, 12:17:20 PM

Previous topic - Next topic

DrShepard

You must make a selection of the field (legal entity, and individual) in the shopping cart in the order form. Only so that when selecting one or the other, fields were added to fill in. If you select an individual, the field appears: First Name Last Name, and if a legal entity, then TIN and Contact person. Is it possible to implement this with the help of Fields filled in by the user in virtuemart? or is it only possible to do this through code? If anyone knows please tell me how to do it.

Thanks!

GJC Web Design

This IMHO can only be done with JS code in your  templates\xxxx\html\com_virtuemart\user\edit_address_userfields.php within the fields loop..
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

DrShepard