Error in create order when disabling free shipping #20560
Labels
1.7.7.x
Branch
BO
Category: Back Office
Bug
Type: Bug
Fixed
Resolution: issue closed because fixed
migration
symfony migration project
Minor
Severity: minor bug > https://build.prestashop.com/news/severity-classification
Nice-to-have
Kanban prioritization: issue could be included in next version
Order
Component: Which BO section is concerned
Regression
Type: regression
Projects
Milestone
Describe the bug
In BO > Create order, when an order has a free shipping voucher manually entered, if you try to uncheck the "free shipping" button in the Shipping block, an error is displayed.
If the free shipping button is set to ON again, a second free shipping voucher is created.
Expected behavior
When toggling OFF the free shipping button, no error should be displayed, and the voucher should be deleted (or the button should not be switchable).
Steps to Reproduce
Steps to reproduce the behavior:
Screenshots
https://drive.google.com/file/d/1FxcNjSSEgkVfaDEqmFJlpocUI_OsyVTN/view?usp=sharing
Additional information
The text was updated successfully, but these errors were encountered: