Hello, I've developed a shipping rate calculation plugin. Rates are based on items weight. However, some users are reporting that changing item quantity (same sku) does not increase the shipping fee. Adding different products (different skus) works fine.
I am using the IShippingService to get the total cart weight or singe PackageItems weight. Is there any reason why this service is not taking item quantity into account?
However, I was inspecting its implementation: it takes the quantity into account only if the ShoppingCatrItem object has some AttributesXml, which I don't know where they should be coming from...
Anyways, I'm fixis this by multiplying the returned weight by the item quantity myself... even though I don't understand why the services doesn't do this on first place...
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Vous avez encore des questions ou avez besoin d'aide?