-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Cart / Minicart does not check if configurable product is still salable #6388
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
Comments
Hi, @heldchen I've tried couple of times to reproduce this issue but without any success. I am using CE 2.1.0 with sample data in developer mode and after each relogin I see valid cart and mini cart on checkout page. Maybe you have any troubles with cache? Will appreciate your efforts! |
thanks for your update
we have fullpage_cache disabled, all other caches are enabled. haven't seeen any other cache-related issues so far.
no, but will try and report back. (but probably shouldn't make a difference - if disabling a product would need a cache refresh, then the backend save action should invalidate it, right?)
I have tested it on a 1 website - 2 storeviews setup. I will setup a vanilla 2.1.1 with sample data later this week and try reproducing it there and update this issue. |
Ok, thanks for that. Will wait for update. |
sorry for the delay, the post shop launches prevented me from retesting. will be done ASAP. |
@heldchen is there any update on this issue? Is it still actual? |
yes, sorry for the delay, got caught up with the security patches. will try to produce more info asap. |
According to contributor guide, tickets without response for two weeks should be closed. |
does this issue persist? any workaround? |
I think I bumped into this issue today in M2.2.3. There was a product in a saved quote of a logged in customer that had been disabled in the meantime. This caused the minicart to break (checkout button did not work anymore) and a lot of errors where thrown in the console due to the minicart being saved in the local storage I guess. |
when a configurable product is being disabled in the backend while still in customers persistent cart, the cart (
/checkout/cart/
as well as the minicart) behaves as if the product is still salable. only after going into the checkout is the now non-salable product silently removed.Preconditions
Steps to reproduce
Expected result
after step 8:
after step 9:
Actual result
after step 8:
after step 9:
note: customer logout is not needed to show the issue, added to ensure quote is really reloaded from the database.
note: for simple products, the problem is partly reproducible:
The text was updated successfully, but these errors were encountered: