Product Weight By Attribute

By | January 6, 2009

Theresa asks;

We have products on os commerce that are sold in two different weights. As the product attribute only has a field for one weight, how can we add the variation in weights so that shipping costs are calculated properly?

Assuming you are using the product attributes to differentiate between your product sizes/dimensions, there is a contribution that adds weight to attributes. This makes it very simple to do something like:

Product A (1kg)
– small (no extra weight)
– large (extra weight of 0.5kg [or whatever])


The extra weight is then parsed as normal via the shipping modules and the correct fee should be charged…

That should just about do it, shouldn’t it?

Leave a Reply

Your email address will not be published.