woodpecker Posted April 12, 2004 Posted April 12, 2004 Hi folks, I see the packing weight calculation changes between small/medium and large packages but how do I set the breakpoint at which a package becomes large? Thanks, Andy.
mattwho Posted April 12, 2004 Posted April 12, 2004 I believe It is in Admin under Configuration-Shipping/Packaging
woodpecker Posted April 14, 2004 Author Posted April 14, 2004 I can't seem to find it there, I have options for tare weight and the % to set for large packages. The trouble I have is that osc is treating most of my packages as large when I don't want it to. I need to change the weight at which it decides a package is large. Can someone please help???? Thanks, Andy.
241 Posted April 14, 2004 Posted April 14, 2004 are you using a table rate for shipping No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
woodpecker Posted April 14, 2004 Author Posted April 14, 2004 Hi, I'm using zone based shipping but at the moment everything is getting the 10% extra weight added on because OSC thinks its a large parcel. I really want OSC to think most things are small and I'm trying to find out how to change the number. I presume there must be something that says if weight>x then parcel = large. I want to change x. Thanks, Andy.
Mark Evans Posted April 17, 2004 Posted April 17, 2004 The answer is is the second post. Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
TerryK Posted April 17, 2004 Posted April 17, 2004 The answer is is the second post. Is it? In Admin -> Configuration -> Shipping/Packaging, the only option I can see for larger packages is to assign a percentage increase. When I was testing, that just seemed to add the percentage assigned to the total shipping weight on orders that had multiple products. Somewhere in the code there must be something telling the cart to make a package 'large' based on some predetermined equation, but I've not been able to find it. I checked: /catalog/includes/classes/shipping.php /catalog/includes/classes/order_total.php /catalog/includes/classes/order.php /catalog/includes/configure.php Admittedly, I am by no means a PHP expert (though I have managed to do a fair bit of modification to my cart, both through contrib's and my own manipulation), but I couldn't find anything in any of the above files that seemed to relate to the 'large' package weight. Still searching... Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. *
TerryK Posted April 17, 2004 Posted April 17, 2004 Okay, a bit more investigation led me to this code in /catalog/includes/classes/shipping.php: if (SHIPPING_BOX_WEIGHT >= $shipping_weight*SHIPPING_BOX_PADDING/100) { $shipping_weight = $shipping_weight+SHIPPING_BOX_WEIGHT; } else { $shipping_weight = $shipping_weight + ($shipping_weight*SHIPPING_BOX_PADDING/100); } The 'SHIPPING_BOX_PADDING' appears to be what is used to calculate the 'large' package weight. 'SHIPPING_BOX_WEIGHT' is the package tare rate set in the store config. I'm still not sure what this formula is saying, so I haven't quite figured out how to tie it all together. Anyone? Thanks, Terry Terry Kluytmans Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like: Add order total to checkout_shipment Add order total to checkout_payment Add radio buttons at checkout_shipping (for backorder options, etc.) Duplicate Table Rate Shipping Module Better Product Review Flow * If at first you don't succeed, find out if there's a prize for the loser. *
pfaustino Posted June 16, 2004 Posted June 16, 2004 Shipping Box Weight (Tare) 0.47 Shipping Box Padding 10% Actual WeightFinal Weight 0.5 0.97 1 1.47 2 2.47 3 3.47 4 4.47 5 5.5 6 6.6 7 7.7 8 8.8 9 9.9 10 11 11 12.1 12 13.2 13 14.3 14 15.4 15 16.5 16 17.6 17 18.7 18 19.8 19 20.9 20 22 21 23.1 22 24.2
pfaustino Posted June 16, 2004 Posted June 16, 2004 woops. premature submitculation there. Basically, for the example I posted above, Anything below 5 lbs, the calcualted weight is always added the weight of the tare weight. At 5 lbs and above, the tare weight is ignored. Instead of adding the tare weight to the actual weight of the products, 10% of the actual weight is added. If you know a bit of Excel, you can use this formula to calculate the logic =IF(shipping_box_weight>=A6*shipping_box_padding,A6+shipping_box_weight,A6+(A6*shipping_box_padding)) Email me if you want the excel file.
pfaustino Posted June 16, 2004 Posted June 16, 2004 woops. premature submitculation there. Basically, for the example I posted above, Anything below 5 lbs, the calcualted weight is always added the weight of the tare weight. At 5 lbs and above, the tare weight is ignored. Instead of adding the tare weight to the actual weight of the products, 10% of the actual weight is added. If you know a bit of Excel, you can use this formula to calculate the logic =IF(shipping_box_weight>=A6*shipping_box_padding,A6+shipping_box_weight,A6+(A6*shipping_box_padding)) Email me if you want the excel file.
pfaustino Posted June 16, 2004 Posted June 16, 2004 woops. premature submitculation there. Basically, for the example I posted above, Anything below 5 lbs, the calcualted weight is always added the weight of the tare weight. At 5 lbs and above, the tare weight is ignored. Instead of adding the tare weight to the actual weight of the products, 10% of the actual weight is added. If you know a bit of Excel, you can use this formula to calculate the logic =IF(shipping_box_weight>=A6*shipping_box_padding,A6+shipping_box_weight,A6+(A6*shipping_box_padding)) Email me if you want the excel file.
dskl Posted August 1, 2004 Posted August 1, 2004 The 'SHIPPING_BOX_PADDING' appears to be what is used to calculate the 'large' package weight. 'SHIPPING_BOX_WEIGHT' is the package tare rate set in the store config. I'm still not sure what this formula is saying, so I haven't quite figured out how to tie it all together. Anyone? I beleive it translates into this: (assuming percent increase is set to 10%) If tare weight is equal to or greater than 10% of item weight, shipping weight = item weight + tare weight. If tare weight is less than 10% of item weight, shipping weight = item weight + 10% of item weight Dave
Recommended Posts
Archived
This topic is now archived and is closed to further replies.