Description
Describe the bug
In the BO => Orders => New Order page, the "Discount" line is not added to the Vouchers block when a cart rule "Discount for a country selection" is applied
Expected behavior
Explain what you expected to happen instead.
Steps to Reproduce
You have at least France and United States countries enabled
- Go to BO => Catalog => Discounts page
- Create a cart rule Discount amount with a country selection "The United States"
- Go to BO => Orders => Add new order page for "John Doe"
- add some product to the order
- Select the address "My address (United states country)"
- See an error, the Discount line is not added to Voucher Block
- In the Summary Block => ok
Other steps to reproduce the issue:
- Go to BO => Catalog => Discounts page
- Create a cart rule Discount amount with a country selection "The United States"
- Go to BO => Orders => Add new order page for "John Doe"
- Select a "My address (United states country)"
- add some product to the order
- The Voucher well added
- Try to change the address selected to France
- See the error "The voucher line is not removed
- In the Summary block, Total voucher = 0 (well updated)
PS1.7.6.8 => ok
Additional information
- PrestaShop version: 1770rc1build2
- PHP version: 7.2
Metadata
Metadata
Assignees
Labels
BranchCategory: Back OfficeType: BugLabel: Which BO under menu is concernedLabel: Which BO under menu is concernedResolution: issue closed because fixedSeverity: minor bug > https://build.prestashop.com/news/severity-classificationKanban prioritization: issue could be included in next versionComponent: Which BO section is concernedSolution: issue is being addressedType: regressionsymfony migration project
Activity
prestashop-issue-bot commentedon Oct 21, 2020
Thanks for opening this issue! We will help you to keep its state consistent
khouloudbelguith commentedon Oct 21, 2020
Related to #20667
4 remaining items
Progi1984 commentedon Dec 4, 2020
Fixed by #21568