I have an installation of WPGroupBuy theme and plugin here https://www.dealwise.gr/test. I have configured 3 payment methods (PayPal, Bank Transfer & COD). Now, since there are not any options into the backend configuration for conditionally displaying a payment method, what I would like to do is to set up a condition for the COD payment method where, if the total amount of the cart is less than 50 euros to display the COD payment method and if the amount is more than 50 euros NOT to display this payment method.
A solution that is using css ie (display:none) is also acceptable….
Also: Is it possible to add, on the cart total calculation the amount of 4 euros if someone selects the COD as a payment method? How could I do that?
Which files I need to change and how I can set up this condition?
How wordpress.stackexchange.com can help?
Read more here: Change on a custom cart