Prestashop: Unit price reset to 0 if you activate/deactivate or duplicate products in bo product list

Created on 1 Oct 2018  路  4Comments  路  Source: PrestaShop/PrestaShop

Describe the bug
The Unit price and cost price are reset to 0 if you activate/deactivate/duplicate products from the product list.

To Reproduce
You have a product with unit price & cost price value.
From the product list you deactivate the product (both with single action or via mass action).
You open the product form and you can see that the unit price & cost price are set to 0.

NB
If you activate/deactivate the product from the product form the unit price works well.

Additionnal information
PrestaShop version: 1.7.4.2
PHP version: 7.1.22

1.7.4.2 BO Bug Fixed Major Must-have PR available Products Taxes and Prices

Most helpful comment

Same issue with cost price
If you save new cost price, then reopen product is always 0
Behaviour only on duplicated products.
Prestashop 1.7.6.1 and php 7.2.22

All 4 comments

Hi @fdelprete,

Thanks for your report.
I manage to reproduce the issue with PS1.7.4.2 / 1.7.5.x / 1.7.3.4
We will see how to fix it.

Best regards, Khouloud

Same issue with cost price
If you save new cost price, then reopen product is always 0
Behaviour only on duplicated products.
Prestashop 1.7.6.1 and php 7.2.22

Hi,

The cost price is ok with ps1.7.6.1.
It is ok when we duplicate or disable a product from the product list page or the product details page.
The unit price not ok as always.

Related issue: #16353 just reproduced with PS1.7.6.1 & PS1.7.6.2build1

Thanks!

Hi!

This issue will be fixed with this PR: https://github.com/PrestaShop/PrestaShop/pull/20680
Thanks to @artaban!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

centoasa picture centoasa  路  3Comments

wikao2 picture wikao2  路  3Comments

esistgut picture esistgut  路  3Comments

matks picture matks  路  3Comments

khouloudbelguith picture khouloudbelguith  路  3Comments