Problem/Motivation

Steps to replicate:

  • Use the Quantity text field (Ajax) in a view.
  • Click the Update cart button multiple times.

The feedback message Your shopping cart has been updated. does not stays on the page, and goes away. However this does not happens if you do the update cart operation first time (after page load), but it occurs on subsequest update cart operations.

Proposed resolution

The core problem of this bug is unknown. I tried to fix this problem, but couldn't. I need help to resolve this problem. I think this is related to #2941531: Throbber message appears twice on multiple update cart operation

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Comments

subhojit777 created an issue. See original summary.

vmarchuk’s picture

Version: 8.x-1.x-dev » 3.x-dev

I don't think that's a problem at all. The message disappears because there is nothing to update: the quantity was not changed and the order was not updated. The message appears only when the order has been saved, see commerce/modules/cart/src/Plugin/views/field/EditQuantity::viewsFormSubmit().

vmarchuk’s picture

Status: Active » Closed (works as designed)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.