Post by dlovin123 » Tue Mar 18, 2014 4:32 am

I have UPS working but it only goes up to 150 pounds which is fine.

I have table rate charge for items OVER 150 pounds, which is fine and also works great.

The issue is that as soon as it goes over 150 pounds, it still TRIES to quote UPS which returns an error. I would rather it just omit UPS once 150 pounds has been reached to begin with.

Anyway to disable UPS after 150 pounds has been surpassed?

Newbie

Posts

Joined
Wed Mar 12, 2014 12:14 am

Post by Cue4cheap » Tue Mar 18, 2014 4:55 am

Something like this should work:

Code: Select all

      if ( $this->cart->getWeight() > 150 ) {
         $status = false;
      }
put it before this:
$method_data = array(); in the ups.php file.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by dlovin123 » Tue Mar 18, 2014 8:50 pm

it worked perfectly!

Newbie

Posts

Joined
Wed Mar 12, 2014 12:14 am
Who is online

Users browsing this forum: No registered users and 6 guests