Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Payment Issue (No error)


Recommended Posts

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

Link to comment
Share on other sites

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

Greetings from Marcel

|Current version|Documentation|Contributions|

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...