When I add a product kit twice (by clicking the Buy Now button twice), there are two separate instances of the kit in my cart, each with a quantity of 1. When I do the same for a regular product (i.e. not kit), there is only one instance with a quantity of 2. I would expect the latter to happen, both for kits and normal products.

CommentFileSizeAuthor
#1 uc_product_kit.module.patch2.25 KBwimh

Comments

wimh’s picture

Version: 6.x-2.0-rc7 » 6.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new2.25 KB

This patch should do it.

Island Usurper’s picture

Status: Needs review » Needs work

You also need to check the product's attributes, and only increase the quantity if the same options were chosen.

rszrama’s picture

Methinks Mantooth forgot he patched this one... Wim, can you review #550802: Update product kit quantity when an identical one is added to the cart and close this one if it's a duplicate?

wimh’s picture

Status: Needs work » Closed (duplicate)