I believe you can only apply one set of package dimensions that apply to all orders within the AusPost shipping module config.
Admin->Modules->Shipping->AusPost
I did something on the USPS module that supports dimension sizes based on weight, though I don't think the AusPost module or any stock standard modules calculate box dimensions based on products qty etc.
ZenCart doesn't have LxWxH fields in the products table so that is another custom modification.
That sounds like a specialised feature since you would have to specify a set of box sizes you would use, then the module would need an algorithm to fit the order items into the correct box.
Each product can have a different shape (LxWxH) so problem solving is required to pack the box with minimum free volume left over.
Easy for a human to do, but programming it? - It sounds 4th year Computer Science problem.
It may be possible to use the code I added for dimensions based on weight and apply it to the AusPost module. That would save a fair amount of work if it suits your needs.
This shows how the weight based dimensions work in the USPS Module:![]()


Reply With Quote
