-
-
Notifications
You must be signed in to change notification settings - Fork 731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck on cart, if item becomes out of stock during shopping journey #5239
Comments
This is something I've hit in previous test and never manage to properly reproduce, thanks @filipefurtad0 ! I would make this one an s2. Thougths? @lin-d-hop @luisramos0 ? |
oh, also, one improvement here would be to improve the messages with a CTA: tell the user to update the quantity. "An item in your cart has become unavailable, please update the quantity of the item and press the Update button". |
Ohh. My bad - I can't believe I did not try the update button! I guess for me the update button became invisible mostly because - and as you say - the shopfront-page has a different/opposite behaviour, i.e.: it updates automatically when the quantity is changed. So, I see two situations, after stock reduction, b) The user does not want to checkout - just wants to leave Would there be any advantage in introducing an Update button in the shopfront instead of removing it from the /cart page? This would mean not updating the server every time the user changes the quantity in the shopfront - any foreseeable gain in performance? |
yeah, there would be some gain in performance but I think we should remove the update button and send to the server alll the user interactions. These changes of quantities in the cart wont be a major load on the server anyway. |
Removing the update button sounds great to me, especially if there is a negligible effect on performance. This way, the shopfront and the cart will work in a similar way 👍 |
Filipe FYI
|
Thank you very much for pointing this out @luisramos0. I'll see if I can replicate this manually. I am wondering about a slightly different scenario:
Strangely, Bugsnag did not get triggered. This is reproducible, and perhaps worth a separate issue. Pinging @RachL @lin-d-hop on this as well. Update: This is now issue #5372 |
Hey @luisramos0 , I think the modal described on the rspec above in line 323 is this one: "Reduced stock available While you've been shopping, the stock levels for one or more of the products in your cart have reduced. Here's what's changed: Cachupa - 1kg is now out of stock." This modal can also contain a slightly different text: "Reduced Stock Available - While you've been shopping, the stock levels for one or more of the products in your cart have reduced. Here's what's changed: Cachupa - 1kg is now only 5 remaining." This can be reproduced by:
I've never seen this modal before! Below is the usual one, which happens when one increases an amount beyond the initially set limit, when the page was loaded: "Insufficient stock available, only 5 remaining" I hope this helps! |
thanks Filipe, that helps a lot. Now I see it's in the shop page, not the cart. |
@RachL asked above if this should be an s2. I'd say yes --- given how busy shops are right now. And - while there is a work-a-round for the shopper (pressing update) - its not very clear thats what they have to do. Is it possible to at least change the direction to the consumer quickly? (as @luisramos0 notes above) ?? |
i'm fine with that - if @filipefurtad0 can't see the update button I totally get that customers can't. If it is relatively easy to remove the need for the update button I would say go so far as to do that. This would definitely qualify as response in the MOSS project and I will check with @NickWeir63 as to the best way to keep track of these |
Design ideas from the delivery train meeting:
|
@filipefurtad0's point at the end: the user can't easily navigate away from the page at this point, they get repeatedly redirected back to the cart unless they correctly perform all the required steps manually. |
I think the "Highlight update button when form has been changed" bit would be great in general, and not just for this specific issue. |
So the "continue shopping" button is not available? |
@RachL It's available, you can click it, but you get redirected back to the cart page - the user is really stuck :-) "Highlight update button when form has been changed" sound like a great improvement here. Also, @luisramos0 mentioned, that changing the text from the error would additionally help the user know what to do. |
Yes changing the text is really important. But I don't understand why we don't want the user to continue shopping 🤔 |
@RachL because the cart is in a state the system cant really handle in the other pages like shop and checkout.
|
Sounds good @luisramos0. Then perhaps we should disable the Continue Shopping button as well? At least until the changes are made, which allow pressing the Update button. Update: actually, we should disable both the Continue Shopping and the Checkout button, when the page is in this state, as none of them works. |
agree @filipefurtad0 I just noticed we have something different to the Update button when editing a completed order: |
This looks great as well @luisramos0. The Save Changes covers all functionality of the Update button and has much better UX I think. Implementing this and removing the update would be a good solution too, especially if combined with the design solutions above:
|
yeah, I think we agreed not to move the update button though :-) |
Oh, so I misunderstood your suggestion :-) I interpreted this as a separate option for solving this. Please disregard the comment above then - sorry! |
I think we should go ahead with the solution described above so we can just get this sorted AND I can't help wondering why we don't just automatically amend the cart to remove out of stock items and notify the customer. But anyway, fix above is a good step forward |
Description
After a customer visits the shopfront and adds items to cart, it can happen that the stock is reduced, making those items unavailable, before the customer checks out. If this happens, and the customer attempts to check out, he is redirected to the cart page, where the red banner displays with "An item in your cart has become unavailable." Also, in front of the respective item, a red text indicates "Insufficient stock available, only xxx remaining" - pic below.
Now, at this point, the user is "stuck" in the /cart page. Even if the number of items is reduced (either introducing a number or using the small down-arrow) till the "insufficient stock" warning disappears, it is not possible, as the buttons below in [brackets], only leave you on the current cart page:
Expected Behavior
It should be possible to leave the cart page, either by:
Actual Behaviour
Customer gets stuck on cart page.
Steps to Reproduce
C - Customer
A - Admin
C - add X items to the cart.
C - Proceed to Checkout page
A - In Products, reduce the amount of available items, to a value below X
C - Press [Place Order Now]
-> boom!
Animated Gif/Screenshot
Workaround
Here, the only way out, is pressing the trash-bin and removing the items from the cart.
Severity
bug-s3: a feature is broken but there is a workaround
(however, perhaps this affects few users? S3 and a half? :-)
Your Environment
Possible Fix
The text was updated successfully, but these errors were encountered: