Quantity in cart not updated when using custom text field(s)
I have a problem with updating the qty in the shopping cart when using a custom field. Steps to reproduce:
- Add a text field for a product in the customization section in the admin
- Save the product and go to the product page
- In the product page at the bottom you an enter a custom text and click save
- Add one or more of these customized products to the cart
- Now on the cart page click the + in the qty column
The cart totals are updated but not the input field for the customized product. Also the line above with the quantity is not updated.
Do you mean this problem?
( don’t ask me why it’s in French )
Also, please provide some screenshots the next time. It makes things a whole lot clearer.
Please mark as solved is it fixed the issue for you, so we can include it with 1.0.2
@mdekker no this is not the same problem, my problem is that the plus and minus buttons don’t update the quantity, but they do update the total.
sorry for not adding a screenshot, I thought i did but somehow it did not upload. here another try:
Yes, that’s the same issue. It doesn’t update the quantity of the customized product.
I see now our posts crossed each other … I wil try your fix and test if that works. I’ll let you know, thanks!
This forum is live
You can see new replies instantaneously
I tested it and it works perfect! Thank you very much for the fast fix. This was one of the last issues before going live so later this week my thirtybees site will be in production
Awesome! Good luck with your site!
Traumflug last edited by
Works perfect for me, too. Thanks!
Reopening this bug report.
You can’t add the product without a customization and then add it with a customization.
Also removing the product with the customization from the cart not always removes the product itself, but from the customization table instead. PrestaShop logic hides the product from the cart in that case, but in the database the product is still in the cart, which messes quite a few things up.
@mdekker you are right! I did not notice that before because my tests were with customization. In below screenshot the first line is added without customization, the second line with customization.
If i’m correct the first line of the cart should not include the customization row below it.
It’s confirmed to be fixed here for 1.0.2
I unfortunately can’t tell you which commits, because we have pushed way too many recently. Gotta dig through 100+ commits to find the right ones
@mdekker are you sure? Because you opened the bug report yourself yesterday … based on that I did a new test with the fix that was made for 1.0.2 earlier in this topic. That had the issues you mentioned when re-opening the bug.
I also read that 1.0.2 is around the corner, so it’s no problem to wait for that release and re-test with that version.
Yeah, that’s why I pushed another 10 commits for the customizations alone.