Guest Posted May 2, 2003 Share Posted May 2, 2003 Hi all. I have a small question that I would like to have answered if possible, Is there an easy way of making Payment modules work the same way as Shipping? I mean, shipping can be set to freight-free when the order is over a sertain amount. What I would like to do is the same with Payment, but change the payment method if the order goes over a certain amount. I have "Invoice" and "Cash on delivery" as payment choices, and I want the invoice choice to dissapear when order is over a certain amount. Thanks for any advice in this matter, as it would mean alot of time spared for me. / Zipper Quote Link to comment Share on other sites More sharing options...
M@rcel Posted May 2, 2003 Share Posted May 2, 2003 I've not tested this, but you can try: open your invoice payment module just before the last '}' of the first function insert: if ($order->info['total'] > 25.00) { $this->enabled = false; } That should hide the module if the order total is over 25.00 Quote Greetings from Marcel |Current version|Documentation|Contributions| Link to comment Share on other sites More sharing options...
Guest Posted May 2, 2003 Share Posted May 2, 2003 Thanks for the swift answer. I will try this out right away. I?ll keep you posted. / Zipper Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.