Hide some of the payment plugins when a specific custom field product in cart

Started by mhs_pro, July 07, 2019, 18:18:20 PM

Previous topic - Next topic

mhs_pro

Hi
I want to hide or disallow to choose some of the payment plugins when a product in the cart had a specific custom field.
Like the custom fields boolean type

I want to edit the payment standard plugin or create a new payment plugin.
what should I do? :-[ :-[ :-[ :-[


mhs_pro


Studio 42

Hum, i had to read corrrectly.
This plugin is for shipment.
It's better to not use an existing plugin, but write a new one. you can copy "standard' plugin in a new folder and change class + folder name and add your needs inside this new plugin.
Of course, you need to know PHP and a little VM+Joomla coding.