Jump to content

[Cash On Delivery Module] Add a condition on payment


Recommended Posts


i need to add a condition of payment with COD module.

If total order is under a value i need to increment this value.

For example if order total is under 100 $ i need to increment it with 10 $.

I tried to modify cashondelivery module in validation.php but in this way i can only see this increment in order result page. In order table there isn't no update. So the question is: how can i do this?

Many thanks

Link to comment
Share on other sites

Wouldn't you actually want to prevent the customer to place an order below the $100, instead of just increasing the order price? This way, the customer knows it needs to make some additional choice to make it to the minimum value.


(Preferences->Minimum purchase total)


Just my thoughts,


Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...