Saving virtual product attachment is modifying product price if a specific price is set on the product #22069
Labels
1.7.6.9
Affects versions
1.7.7.0
Affects versions
BO
Category: Back Office
Bug
Type: Bug
Fixed
Resolution: issue closed because fixed
Minor
Severity: minor bug > https://build.prestashop.com/news/severity-classification
Old Products Page
Concerns the old product page
Taxes and Prices
Component: Which BO section is concerned
Virtual
Product type: issue about virtual products
Projects
Milestone
Describe the bug
When using virtual products, retail price is getting modified during attachment save
if there is a specific price set on the product.
Expected behavior
We expect the price remain the same , this is quite major issue as it messed up a lot of product prices in one of
our customer shop.
Steps to Reproduce
Steps to reproduce the behavior:
Additional information
Issue was debugged thanks to the help of M4 module creator.
The wrong line of the code is:
$productAdapter->getProduct() in saveAction method on VirtualProductController
This method sets the product price using any specific price and later saves this wrong price.
The text was updated successfully, but these errors were encountered: