We created a few flat shipping rates created to deal with different international shipping scenarios but we ran into a situation that we feel might be a bug.

We have two products with each have a flat shipping rate assigned and overridden at the product node level. Those two products then were put into a product kit and the product kit node flat shipping rate was overridden to a lower price so shipping for the two products together in the product kit would be less than if ordered separately as products. When the product kit is ordered, however, the shipping is still being calculated from the combination of the two product nodes flat shipping override amounts and not the product kit's flat shipping override amounts. Is this the correct function? I assumed that this is a bug since the product kit provided flat shipping override fields on the node creation page and was intended to be used in that manner. Thanks

CommentFileSizeAuthor
#5 914828-product-kit-shipping.patch422 byteslongwave
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

essbee’s picture

Version: 6.x-2.4 » 6.x-2.6

I note this hasn't had any response, but I am seeing similar behaviour in the latest version.

Basically even though it is possible to select the Product Kit when creating a Flat Rate shipping quote condition, it does not apply, rather it just defaults to the normal shipping of individual components.
Thoughts?

longwave’s picture

Product kits are never added directly as products to the cart (instead their components are added, and then aggregated for display if necessary), so this means any shipping override is never used.

The easy fix is to remove the overrides from product kit nodes as they don't work. The true fix would be to make overrides work if items are part of a kit, but that looks like it will need extensive modifications to both uc_quote and uc_product_kit to handle this.

jvieille’s picture

TR’s picture

Version: 6.x-2.6 » 7.x-3.x-dev
Component: Shipping » Product kits
longwave’s picture

Status: Active » Needs review
FileSize
422 bytes

This should disable all shipping related functionality on the product kit node form.

jvieille’s picture

This works in D6 too.
Thanks

longwave’s picture

Status: Needs review » Fixed

Committed to both branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.