Prestashop: BO - New order page - The stock counter is not updated until a page refresh when a product is added to order

Created on 24 Mar 2020  路  6Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

In BO => Orders => Orders => Add an Order when a product is added the quantity is not updated until we refresh the page

Expected behavior

The quantity should be updated

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to BO => Orders => Add an Orders
  2. Select a customer
  3. Select a product and click on "add to cart"
  4. See error the quantity is not updated

Screenshots

capture d'茅cran_8

Additional information

  • PrestaShop version: 1.7.7.x, 1.7.6.x
  • PHP version: 7.2
1.7.5.2 1.7.6.4 1.7.6.x 1.7.7.x BO Bug Fixed Minor Order PR available

Most helpful comment

Hello @SD1982 Done :+1:

All 6 comments

Hi @SD1982,

Same issue with PS1.7.5.2, PS1.7.6.4, and the branch 1.7.7.x.
Related to https://github.com/PrestaShop/PrestaShop/issues/18199
Thanks!

Hello guys,
I can't reproduce this issue in 1.7.7.x. Quantities in product row are updated after adding a certain quantity of that product.
Thank you very much

Hii @khouloudbelguith , how are you?
Thank you very much for the screen record, I see the problem now. let me try to find the solution

Hi @SD1982 How are you?
Could you please rename the title and body of your ticket? It is in fact about stock counter and not product quantity.
This will somehow make this issue different than #18237 (and remove some confusion). Wdyt?
Thank you in advance.

Hello @SD1982 Done :+1:

Was this page helpful?
0 / 5 - 0 ratings