How to add condition to show hide cash on delivery Payment Method based on total Grand Total?
How to add condition to show hide cash on delivery Payment Method based on total Grand Total and/or City ?
You have to add conditions according to your need inside isAavailabe() function.
Hi @vishalK ,
I don't see any function isAavailabe() in CashOnDelivery.php .
This cash on delivery class extends Payment class so you will find isAvailable() function in payment class kindly check.