Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Disable Shipping if => XX Problem


Recommended Posts

After banging my head against the keyboard a multitude of times, I'm stumped. :blink:


I'm trying to disable shipping charges in the PayPal Payment module following the directions given Here and I'm still getting the shipping for anything over the price I set.


The only Mod I've made is STS.


Any ideas?

Link to comment
Share on other sites

In /catalog/includes/modules/payment paypal.php I added


      if ( ($this->enabled == true) && ($order->info['total'] >= 50) ) {
     $this->enabled = false;


Right after this...


$this->code = 'paypal';
     $this->sort_order = MODULE_PAYMENT_PAYPAL_SORT_ORDER;
     $this->enabled = ((MODULE_PAYMENT_PAYPAL_STATUS == 'True') ? true :   false);



Link to comment
Share on other sites

Doesn't that just disable the payment method, no the shipping method?



Doy!!! Now you can see why one should not bang one's head againt the keyboard. You are absolutely right.


Color me embarrased! :blush:

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...