Don't update quantity on cart for same sku
Posted: Thu Mar 14, 2013 5:42 am
Hi,
I'm facing a problem when you add several times a sku on cart the quantity is updated (normal case).
My problem is that i have a product type SUBSCRIPTION which have a sku for each modality (DAY, MONTH, YEAR) and several configurable options. One order item is linked to a Subscription.
When i add a sku (MONTH) with option "color" for instance i create an order item with the sku price and additional fees for options selected and the subscription.
If i add a new subscription with same modality (so the same sku) instead of create a new order item, the quantity of the first order item is updated to 2 (because of the method gatherCart into OrderItemMergeService). Is there a way to not update the quantity and create the new order item?
Thanks in advance for your help
I'm facing a problem when you add several times a sku on cart the quantity is updated (normal case).
My problem is that i have a product type SUBSCRIPTION which have a sku for each modality (DAY, MONTH, YEAR) and several configurable options. One order item is linked to a Subscription.
When i add a sku (MONTH) with option "color" for instance i create an order item with the sku price and additional fees for options selected and the subscription.
If i add a new subscription with same modality (so the same sku) instead of create a new order item, the quantity of the first order item is updated to 2 (because of the method gatherCart into OrderItemMergeService). Is there a way to not update the quantity and create the new order item?
Thanks in advance for your help