VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: sylwekb on November 03, 2015, 14:28:58 PM

Title: How to disable the payment method when choosing shipment cash on delivery?
Post by: sylwekb on November 03, 2015, 14:28:58 PM
Joomla! 3.4.5, Virtuemart 3.0.10

How to disable the payment method when choosing shipment cash on delivery?

How to disable the choice of payment method cash on delivery shipping?

Title: Re: How to disable the payment method when choosing shipment cash on delivery?
Post by: Milbo on November 03, 2015, 18:55:14 PM
Interesting problem. Usually you select a shipment and then as payment "cash on delivery". But I got your point, not any of your shipments provide cash on delivery. So I think the correct method would be that a Cash on Delivery is only shown, when a certain shipment is selected. Maybe,... but that is not written, yet.
Title: Re: How to disable the payment method when choosing shipment cash on delivery?
Post by: sylwekb on November 04, 2015, 11:24:55 AM
Would it be possible to disable all payment when you choose shipping cash on delivery? This function is needed. In other stores such PrestaShop is it possible.
Title: Re: How to disable the payment method when choosing shipment cash on delivery?
Post by: AH on November 04, 2015, 11:55:09 AM
Milbo noted that this was not part of the core code -

The answer is therefore,  no you cannot currently show/disable a payment method based on the shipping method chosen.

And just in case :- It is also not possible to to show/disable a shipment method based on a payment method chosen.
Title: Re: How to disable the payment method when choosing shipment cash on delivery?
Post by: sylwekb on November 04, 2015, 12:59:39 PM
Thank You.

For now, this problem solved in a way that added a standard payment method cash on delivery and after you choose it does not show PAYPAL or bank transfer, bank card. But this is not the ideal solution.