Description
Cart total quantity not updated after adding or removing product from cart .
Issue appeared after update from 1.7.5.2 to 1.7.6.2
To Reproduce
Additional information
PrestaShop version: 1.7.6.2
PHP version: 7.2
Hi @kexuejia,
I manage to reproduce the issue with PS1.7.6.2 & PS1.7.5.2 & ps_shoppingcart v2.0.3.
https://drive.google.com/file/d/1MUFgasEOKJ2X65scn8cXpVkGWujRNlNe/view
It was ok with ps_shoppingcart v2.0.2.
It is a module regression.
I鈥檒l add this to the debug roadmap so that it鈥檚 fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
Thanks!
seems module ps_shoppingcart.js receives wrong event.resp
event has only reason, but resp is undefined
on version ps_shoppingcart.js v2.0.2 no condition for event.resp
Hi,
The same issue when we delete a product from the shopping cart, it is not updated.
Thanks!
seems module ps_shoppingcart.js receives wrong event.resp
event has only reason, but resp is undefined
yes @kexuejia, I don't see why the test against resp
was added in first if
. I think the test should look like:
https://github.com/PrestaShop/ps_shoppingcart/pull/54
But if it is necessary to send resp
in the emitted object, we can keep the module untouched and modify in theme:
https://github.com/PrestaShop/PrestaShop/pull/16892~~
The PR: https://github.com/PrestaShop/PrestaShop/pull/16948
@khouloudbelguith @colinegin
I hope someone help me decide between the two PRs, or guide me to create another PR with the appropriate approach
Hi @arouiadib,
Thanks a lot!
Ping @PrestaShop/prestashop-core-developers what do you think?
Thanks!
Hi,
we have the same issue. Do you know when it will be done from your side ?
Best Regards
Hi,
we have the same issue. Do you know when it will be done from your side ?
Best Regards
I just downgrade ps_shoppingcart to v2.0.2.
Hi,
we have the same issue. Do you know when it will be done from your side ?
Best RegardsI just downgrade ps_shoppingcart to v2.0.2.
Can you send the downgrade? What is the procedure please to downgrade to v2.0.2?
Hi @zozo202600, you can follow this link: https://github.com/PrestaShop/ps_shoppingcart/releases
Thanks!
I tried to download it but i didnt success to install it, what is the procedure to downgrade to this version? How do i need to install it ?
Thank you in advance for your quick answer
@zozo202600, thanks to check with this module cloned from GitHub
ps_shoppingcart.zip
Thanks!
thank you very much it is finally working
Fixed by #17074
Most helpful comment
Hi @arouiadib,
Thanks a lot!
Ping @PrestaShop/prestashop-core-developers what do you think?
Thanks!