Skip to content

Line Item updating, keeps error line item model assigned to cart #20

@lukeholder

Description

@lukeholder

Suppose you have 3 items left in stock. A customer after adding 1 item to the cart tries to update the line item to 5 units for example. Commerce answers with an error flash saying something like "couldn't update the line item. There are only 3 left in stock"

But even after that, the line item is actually updated to 5 t (or whatever value you entered) - this is the line item model output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions