websupportguy Posted July 13, 2008 Posted July 13, 2008 Hi all, tried searching for answers but without any luck. I have the Australia Post Shipping Module 3.02 installed and working, plus the Dimensions Mod (supports height, length and width by product). I'd like to integrate the two so I can provide accurate package dimensions to Australia Post's online calculator, rather than using the module defaults. In AUSTPOST.PHP, the script uses $shipping to get the product weight, presumably from the shopping cart somewhere. At the same time I'd like to get $length, $height and $depth to use in this script. Looking at the Dimensions Mod instructions, I'm not convinced it actually passes dimensions to the shopping cart at all. I guess that would have to be the first step. Has anyone successfully integrated dimensions into any postal service shipping module? Even if I could see how it works on another shipping module, I could possibly get enough clues to do it here. Any help appreciated. Thanks, Tony. Quote
Jan Zonjee Posted July 13, 2008 Posted July 13, 2008 Has anyone successfully integrated dimensions into any postal service shipping module? Even if I could see how it works on another shipping module, I could possibly get enough clues to do it here. UPSXML can use dimensions. Originally that came from the Canadian Post module I believe so they have things in common. Quote
Guest Posted July 13, 2008 Posted July 13, 2008 I have the Australia Post Shipping Module 3.02 installed and working, plus the Dimensions Mod (supports height, length and width by product). I'd like to integrate the two so I can provide accurate package dimensions to Australia Post's online calculator, rather than using the module defaults. Any help appreciated. Thanks, Tony. You would need to be sure that the drc uses dimensions to calculate postage costs. Quote
websupportguy Posted July 13, 2008 Author Posted July 13, 2008 You would need to be sure that the drc uses dimensions to calculate postage costs. It does in some way. The script accepts length/width/height parameters and costs do seem to vary when these are varied. If you send a parcel at the post office, you will see they measure it and weight it to get the price. Tony Quote
websupportguy Posted July 14, 2008 Author Posted July 14, 2008 UPSXML can use dimensions. Originally that came from the Canadian Post module I believe so they have things in common. I took a look at those modules and while most of the dimensions code is pretty transferable, I can't seem to figure out how the dimensions are being passed from the product_info to the cart to the shipping modules. There seems to be a missing link as there are no changes to catalog\includes\classes\shipping.php, which I'd have thought was the master class set for the individual shipping modules. If the $shipping_XXX variables aren't defined and calculated in there, how can they be available to the vendor shipping classes? It looks like shipping.php would need to have some logic added to it to get the longest dimensions for each product in the cart and work out the total package dimensions. I suspect it's just too damn hard. Does UPS/Canada Post shipping work for multiple items with different dimensions? Tony Quote
Guest Posted July 14, 2008 Posted July 14, 2008 You would need to be sure that the drc uses dimensions to calculate postage costs. Those dimensions are specified in the module itself and you enter the value in via admin. You use thiese values as the size of the package that you ship. The Aust Post domestic pac uses dimensions but charges are by weight, international does not use dimensions and charges by weight. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.