Closed Zanuff closed 5 years ago
Something is wrong when I try remake really big order (94 items).. Look at minicart-counter
Ok, it’s on the branch 2513 right?
Yes @pkarw - feature/2513
OK, I've refactored it a little bit https://github.com/DivanteLtd/vue-storefront/pull/2887
Nice job!
@pkarw I tested it again, after merging, but now I see a problem with a duplicate notification and it takes a while before the user is redirected to the checkout. See my new video.
Imho there should be loader displayed or information about the processing.
OK, we need to add the check for duplicated notification in the core/modules/cart/store/actions.ts:583
I've also got a console error: vuex.esm.js:410 [vuex] unknown action type: cart/getPaymentMethods
Check also the forceServerSync
when entering Checkout.js. Currently it is set with the remake order - and probable shouldn't be (it will save us on cart sync)
Plus as @alinadivante wrote - adding a popup / blocking loader
Current behavior
Remake order functionality ends up with random number of products in cart if not locked on backend side. Probably due to the asynchronicity of the requests.
Expected behavior
Remake order functionality should end up with the same number of products in cart after clicking remake order.
Steps to reproduce the issue
Can you handle fixing this bug by yourself?
Which Release Cycle state this refers to? Info for developer.
Pick one option.
develop
branch and create Pull Request2. Feature / Improvement
back todevelop
.release
branch and create Pull Request3. Stabilisation fix
back torelease
.hotfix
ormaster
branch and create Pull Request4. Hotfix
back tohotfix
.