Steps to reproduce:
1. Visit amazon.com (Desktop site)
2. Search for a book e.g. 'The Hobbit' and submit (you should arrive at the "list" Results page, not sure of a more accurate name for this view)
3. From the 'list' Results view, click 'Add to cart' button for one of the results. (Note the right hand portion of the screen becomes a mini-cart widget, and the 'Add to cart' button becomes a remove/add selector for adding removing additional copies with a '1' in the center indicating the number of copies in your cart)
4. Remove the item you just added from your cart using the mini-cart "trash"/remove icon, not the trash icon on the "main" view.
5. Note that the mini-cart is updated accurately to reflect you no longer have the item in your cart, however, the "main" view still thinks you have 1 item in your cart.
6. Attempt to add or remove additional items using the "main" view once again, note that you receive an error modal indicating "Quantity not updated".
7. Note that restoring this views original functionality for the target item now requires a full-page reload.
Environment:
- OS: MacOS 15.4.1
- Browsers tested:
Edge Version 143.0.3650.80 (Official build) (arm64)
Chrome Version 143.0.7499.170 (Official Build) (arm64)
Firefox 146.0.1 (aarch64)
Safari Version 18.4 (20621.1.15.11.10)
Expected Behavior:
- Removing a single item from the "mini-cart" should update the "main" view's state to accurately reflect the state of the cart as well as to allow re-adding the item again if desired without refreshing the page.
I haven't fully determined if there are other products that use the same "list" Results page view as a book search does, curious if anyone else knows other products that can be affected by this. Also curious if anyone else can reproduce this issue or has already seen this reported elsewhere? I wonder how much a (relatively) minor bug like this could impact conversion/performance for a site as large as amazon.com.