Skip to content

BO - Order page - The voucher line is not removed when the Order's total < Minimum amount for cart rule #21812

Closed
Listed in
@khouloudbelguith

Description

@khouloudbelguith
Contributor

Describe the bug

In the BO > Order page, the voucher line is not removed when the Order's total < Minimum amount for cart rule.

Expected behavior

The voucher line should be removed

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to BO > Catalog > Discounts page
  2. Create a cart rule:
    2.1 Informations: With a code
    2.2 Conditions: Minimum amount = 50euro, tax excluded, shipping excluded
    2.3 Actions: Apply a discount amount = 1 euro tax included
    image
  3. Go to BO => Orders => Add new order page for "John Doe"
  4. add some product to the order
  5. Add demo_6 to the cart with quantity =1 (29 euro tax excluded)
  6. Add demo_21 to the cart with quantity = 1 (35 euro tax excluded)
  7. Search the discount and apply it => ok
  8. remove the product demo_21
  9. see error => the voucher line is not removed
  10. In the summary block, the voucher is applied => NOK

image

PS1768 => ok

Additional information

  • PrestaShop version: 1770rc1build2
  • PHP version: 7.2

Activity

added
BOCategory: Back Office
OrderComponent: Which BO section is concerned
BugType: Bug
Cart rulesLabel: Which BO under menu is concerned
DiscountsLabel: Which BO under menu is concerned
migrationsymfony migration project
MinorSeverity: minor bug > https://build.prestashop.com/news/severity-classification
ReadyStatus: Issue is ready to be worked on
1.7.7.0Affects versions
on Nov 9, 2020
added
Nice-to-haveKanban prioritization: issue could be included in next version
on Nov 9, 2020
added this to the 1.7.7.1 milestone on Nov 18, 2020
self-assigned this
on Nov 23, 2020

7 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

1.7.7.0Affects versionsBOCategory: Back OfficeBugType: BugCart rulesLabel: Which BO under menu is concernedDiscountsLabel: Which BO under menu is concernedFixedResolution: issue closed because fixedMinorSeverity: minor bug > https://build.prestashop.com/news/severity-classificationNice-to-haveKanban prioritization: issue could be included in next versionOrderComponent: Which BO section is concernedRegressionType: regressionmigrationsymfony migration project

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @eternoendless@Progi1984@sowbiba@marionf@khouloudbelguith

    Issue actions

      BO - Order page - The voucher line is not removed when the Order's total < Minimum amount for cart rule · Issue #21812 · PrestaShop/PrestaShop