News:

Support the VirtueMart project and become a member

Main Menu

Show payment method only if shopper field is filled

Started by kratzi, January 13, 2016, 14:56:49 PM

Previous topic - Next topic

kratzi

Hi I would like to offer a payment method only to customers who filled a special field in registration form.
As soon they enter their personal number during registration I would like to show them the payment method invoice payment.

However when the personal number is not entered the payment method should not be displayed.

I am running on VM 3.0.12  J 3.4.8

Thank you

GJC Web Design

simplest by javascript/jquery etc

if field filled unhide the payment section

or adapt the payment plugin but then you would need to "submit" the shopper field
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