• rams9213

    (@rams9213)


    Hi,
    I’m using the last version of the plugin at the time of writing (2.0.10).

    If a user adds to the cart a product (let’s say sku “prod1”) in quantity 1 and shares the cart to another user, the second one can effectively import the cart without any problems.

    If then the second user (the one who imported the shared cart) then adds back to the cart the same product again, it looks like there’s a problem in some specific cases:

    TALKING ABOUT THE ONLY PRODUCT IN THE CART IN ANY SITUATIONS, SKU “PROD1”

    Quantity imported through shared cart: 1
    Quantity added from the second user after the import: 1
    Final quantity in the cart: 2 -> NO PROBLEMS HERE

    Quantity imported through shared cart: 2
    Quantity added from the second user after the import: 2
    Final quantity in the cart: 4 -> NO PROBLEMS HERE

    Quantity imported through shared cart: 1
    Quantity added from the second user after the import: 2
    Final quantity in the cart: PROBLEM HERE. Looks like if the 2 quantities are different, the quantity is not added to the existing cart item and a new cart item is created instead.

    We discovered the problem after a customer was able to finalize an order with multiple “duplicated line items”, having the same sku but different quantities.

    I hope it’s clear enough. Any thoughts about it?

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ankit Gade

    (@wpgurudev)

    Hi,

    Thank you for detailed explanation of the issue. I’ll look into this problem and come back to you with any updates.

    Thread Starter rams9213

    (@rams9213)

    Hi,

    did you have the chance to look into it?

    Any updates?

    • This reply was modified 4 months, 2 weeks ago by rams9213.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.