| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
UPS - Setting Maximum Weight per box | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
To anyone having this problem,
I have installed the mods that nick1628 posted on Tue Mar 01, 2005 5:20 pm and that has taken care of the problem. I can now ship via UPS, mutiple items in one order even if the total weight is greater than 150 lbs.. Thanks Nick for the code and the quick response when I had a problem installing it (really my lack of knowledge that caused the problem). X-Cart wanted to charge me to fix their module. Is that how they normally treat customers that find problems in their programs? Leon P. Can you share it with "anyone"?
__________________
X-CART GOLD: 4.0.14 Operating system Linux Apache version 1.3.33 (Unix) PERL version 5.8.1 PHP version 4.3.10 MySQL version 4.0.22-standard |
|||||||
#12
|
|||||||
|
|||||||
sure...the problems arise as follows:
if there are spaces after: $query=<<<EOT remove them and then make sure that the lines that say: EOT; make sure it is all the way to the left of the page and there are no spaces afterwards...if you have any problems just send me a message and i can help you out - nick
__________________
xcart pro v3.5.12 [win] |
|||||||
#13
|
|||||||
|
|||||||
I was able to get this to work on 4.0.7 by changing the following
Code:
Code:
But I'd like to know if it splits them up only if bigger than 150, or no matter what
__________________
Version 4.0.8 |
|||||||
#14
|
|||||||
|
|||||||
IMO, this mod is greate. But shouldnt be used on any live site until it calculates if it does indeed need to use the over 150 weight limit mod. Otherwise, it can bump up your shipping cost 100%. I tested an order that i shipped. It shipped at $14 for a 2 lb package (2 lbs items in the same box). This mod, made it two 1lb packages, so it was like $26 to ship. Thats outragoues. That was for UPS 3 day. For regular ground it went up about $5. For me, my shipping prices are already high because of my suppliers dropship and minimum order charges, so I need to keep shipping down.
If you dont mind the extra bumps in shipping, use it. Works great and is the only alternative out there. Here is a soultion. Code:
It works good for unders under 150 pounds. But once over, it does it by individual boxes once again. Hope it helps someone. Thanks to Nick for the beginning code.
__________________
Version 4.0.8 |
|||||||
#15
|
|||||||
|
|||||||
Ahh...yea I was hoping to get to this at some point but I've been busy. Plus, for my purpose, this worked fine because everything sent out was sent in individual packages.
Thanks for the mod. Looks like it would work nice I was thinking of extending this even further and having it add them into one box up until 150 pounds and then start a new box, manipulating them to get the best combo so you'd have the least number of boxes. But I'm busy right now with a few projects and my real job so I just don't have time...one of these days though it will happen.
__________________
xcart pro v3.5.12 [win] |
|||||||
#16
|
|||||||
|
|||||||
UPS Realtime shipping rate calculation service returned the following error:
No Access Identification provided (errorcode: 250005) Sorry, there are no available shipping methods for your location.:
__________________
X-CART GOLD: 4.0.14 Operating system Linux Apache version 1.3.33 (Unix) PERL version 5.8.1 PHP version 4.3.10 MySQL version 4.0.22-standard |
|||||||
#17
|
|||||||
|
|||||||
UPS Debug Information
UPS Request </Shipment> </RatingServiceSelectionRequest> UPS Response <?xml version="1.0"?> <RatingServiceSelectionResponse> <Response> <TransactionReference></TransactionReference> <ResponseStatusCode>0</ResponseStatusCode> <ResponseStatusDescription>Failure</ResponseStatusDescription> <Error> <ErrorSeverity>Hard</ErrorSeverity> <ErrorCode>250005</ErrorCode> <ErrorDescription>No Access Identification provided</ErrorDescription> </Error></Response> </RatingServiceSelectionResponse> Error processing request at UPS No Access Identification provided (errorcode: 250005) Shipping Rates Service: UPS Error: No Access Identification provided (errorcode: 250005)
__________________
X-CART GOLD: 4.0.14 Operating system Linux Apache version 1.3.33 (Unix) PERL version 5.8.1 PHP version 4.3.10 MySQL version 4.0.22-standard |
|||||||
#18
|
|||||||
|
|||||||
Have you set up your UPS account and entered in yuor username and password?
__________________
Version 4.0.8 |
|||||||
#19
|
|||||||
|
|||||||
I was register with UPS OnLineб╝ Tools
__________________
X-CART GOLD: 4.0.14 Operating system Linux Apache version 1.3.33 (Unix) PERL version 5.8.1 PHP version 4.3.10 MySQL version 4.0.22-standard |
|||||||
#20
|
|||||||||
|
|||||||||
Quote:
A store owner has some products that individually fit into 53 lb packages. If someone orders 2 of them, the total weight is 106 lbs. This exceeds the FedEx Home Deliver limit of 70 lbs. If you haven't set Weight Limit for Home Delivery then the cart will only give you the rate up to 70 lbs (at least it appears that way). If you set the Weight Limit for Home Deliver to 70 lbs (like you probably should) then FedEx Home Deliver no longer appears as a shipping method for the order since the total weight is 106 lbs. We changed shipping/mod_FEDEX.php to break the shipping into 53 lb (max) chunks then add up the chunks, giving a total shipping amount. Here are the changes that accomplished this. In function get_rate, find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Code:
Additionally, we found that the rates were not correct in some instances. This was tracked down to function get_zone. It appears that the destination zip code may be in multiple zones. The closer zone is probably the one you should be using so we found: PHP Code:
PHP Code:
This was done with 4.0.11 but I could find nothing in the changelog nor code changes to this section that would indicate that it is any different up to 4.0.16. This should be tested and someone should please post a correction if any of this information is inaccurate. I am not a shipping expert. update - I found that FedEx Home Delivery surcharge is applied per package. I added a package counter ($pkgcounter) to the get_rate function, get_rate now returns the rate and number of packages, and AddMethods now uses the returned package count to multiply the FedEx Home Delivery. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|