Post by ioi » Fri Oct 15, 2010 6:39 am

I tweaked the 1.4.9 UPS module a bit to support:
*Splitting order into up to 50 packages by maximum weight (150lbs or less with UPS)
*Adding per package and per shipment surcharges

The total weight and parcel count is now displayed directly in front of the quote.

You can disable any or all of the feature by setting the corresponding variables at the top of the file to zero.

The most beautiful thing about this mod is that you only need to replace ONE file to apply it! Throw it into /catalog/model/shipping (make a backup of your current ups.php file first) and watch it work!

Download it now:

Extract, file is gzipped.
Replace file in /catalog/model/shipping


ioi
Newbie

Posts

Joined
Fri Oct 15, 2010 6:22 am

Post by jgonell » Thu Aug 18, 2011 1:09 am

Hi,

Will this worke on 1.5.0 version as well?

Thanks

Joe

Newbie

Posts

Joined
Thu Aug 18, 2011 1:08 am

Post by Qphoria » Thu Aug 18, 2011 3:34 am


Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Mike Guenther » Fri Oct 28, 2011 12:05 am

It seems my shipping rates are being multiplied by the quantity of a particular product. For instance, if say I have a product type that has a boxed quantity of 1000 pieces (14 lbs.) and I want to order 10000 (140 lbs) of them, I would select a qty: 10. When I do this, the shipping parcels and weight look fine:

"United Parcel Service (Weight: 140.00lb) (10pkg)"

But the shipping rates are also multiplied by the quantity of the product (in this case 10) Any ideas?

Instead of $108.75 I get a rate of $1,087.50

After further review, it isn't always multiplied by the exact qty of each product, but it is definitely off (higher). This only happens when I select a multiple qty of a product. IF I select say, 3 different products each with a qty of 1-it works fine.

Here is an example with UPS ground:

1 order of a package that is 14lbs dimensions of 16x16x20=14.54 USD shipping

If I up the quantity of that product to 2 the shipping is $36.46, it should be 29.08 USD

Any ideas?

Active Member

Posts

Joined
Thu Oct 13, 2011 12:00 am

Post by ioi » Tue Feb 14, 2012 9:27 am

You just hijacked my thread for profit ;D Shame on you.
Someone updated my modification here: http://www.opencart.com/index.php?route ... on_id=3069

I haven't tested his yet, but if it doesn't work for me when I eventually do, I would probably make another, it was simple enough.
Qphoria wrote:No, but this one will:
http://www.opencart.com/index.php?route ... on_id=2146

ioi
Newbie

Posts

Joined
Fri Oct 15, 2010 6:22 am

Post by ioi » Tue Feb 14, 2012 9:35 am

A lot can go wrong with quotes because the way they are calculated is always subject to change since UPS is the one making the decisions and changing rules. My mod proves that just a few changes to this existing module can make it do a lot more. Now that you know what your rates should look like, see if you can come up with a reason for the discrepancy and if you can, change the code as needed to compensate.
Mike Guenther wrote:It seems my shipping rates are being multiplied by the quantity of a particular product. For instance, if say I have a product type that has a boxed quantity of 1000 pieces (14 lbs.) and I want to order 10000 (140 lbs) of them, I would select a qty: 10. When I do this, the shipping parcels and weight look fine:

"United Parcel Service (Weight: 140.00lb) (10pkg)"

But the shipping rates are also multiplied by the quantity of the product (in this case 10) Any ideas?

Instead of $108.75 I get a rate of $1,087.50

After further review, it isn't always multiplied by the exact qty of each product, but it is definitely off (higher). This only happens when I select a multiple qty of a product. IF I select say, 3 different products each with a qty of 1-it works fine.

Here is an example with UPS ground:

1 order of a package that is 14lbs dimensions of 16x16x20=14.54 USD shipping

If I up the quantity of that product to 2 the shipping is $36.46, it should be 29.08 USD

Any ideas?

ioi
Newbie

Posts

Joined
Fri Oct 15, 2010 6:22 am
Who is online

Users browsing this forum: No registered users and 1 guest