Prestashop: Cart summary - total price not updated upon cart quantity change

Created on 25 Oct 2018  路  5Comments  路  Source: PrestaShop/PrestaShop

To Reproduce

  1. Install prestashop 1.6.1.20
  2. Make following settings in Back Office:
  3. Administration -> Localization -> VAT -> Display tax in the shopping cart (YES)
  4. Administration -> Customers -> Groups -> Customer, Visitor or Guest atc -> Price display method -> Tax excluded
  5. Go to frontend and add product demo_2 to cart
  6. Go to cart summary page
  7. Change quantity of the product to 2 and see that total price in last row named TOTAL is not updated

Additional information
PrestaShop version: 1.6.1.20
PHP version: 7.2

1.6.1.20 Bug FO Won't Fix

Most helpful comment

@marionf, yes it is good.
In the first step, if you just refresh the page => the total will be correct.

All 5 comments

It is because of duplicate id attribute in two div nodes in html
And cart-summary.js javascript using jQuery updates only a first one (row named "Total (VAT excl.)).

Hi @jancinert,

I manage to reproduce the issue with PS 1.6.1.20.
https://drive.google.com/file/d/1h3YFgY0SNY3EBnbG6hFMwwLI8i0LUZFd/view
The issue doesn't exist in the 1.7.
Here's the fix for the 1.6: #11149
As you can see here聽: the maintenance of PrestaShop 1.6 is extended to June 2018 for security and critical bugs.
if your bug isn鈥檛 critical or a security issue, it can not be fixed.
@marionf, what do you think?
Thanks!

@khouloudbelguith
What happens if you complete the order ? Do you pay the good price ?
Can you try with the last 1.6 ?

@marionf, yes it is good.
In the first step, if you just refresh the page => the total will be correct.

Hello,

As you can see here聽: the maintenance of PrestaShop 1.6 is extended to June 2018 for security and critical bugs.
Your bug isn鈥檛 critical or a security issue, so it will not be fixed, that鈥檚 why I close it.

Regards

Was this page helpful?
0 / 5 - 0 ratings