Skip to content

Multicurrencies - BO - Order page - Incorrect Product's total when it is in a category discount for the customer Group #22096

Closed
Listed in
@khouloudbelguith

Description

@khouloudbelguith
Contributor

Describe the bug

This issue occurs only with a different currency than the default one.
A customer Group has a discount category for example 50% for the Art category
image
In the BO > Orders > Order page > when we Update a product(which is in the category discount) => the product's price is NOK.
If we generate the invoice => total incorrect

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to BO > International > Localization page
  2. Import the United States pack
  3. Go to the currencies page
  4. Edit the $ currency with exchange = 10 (only to visualize the issue)
  5. Go shop Parameters > Customer Settings > Groups Tab
  6. Edit the customer Group, Add a discount 50% for the Art category
    image
  7. Go to FO > Art category > Select $ currency > Add the product demo_18to the cart
  8. Continue checkout
  9. Go to BO > Orders > Open last Order created
    image
  10. EDit the quantity of the product ordered ( from 1 to 2 form example)
  11. Save
  12. See error => the product's total is NOK
    image
  13. Change the status of the Order to Payment accepted
  14. Download the invoice
  15. See the error
    image

1770finalbuild => NOK: https://drive.google.com/file/d/1IYCHdcMkUTZ_G_1K7QsWMywcziDSSc-x/view?usp=sharing

PS:1769 => ok: https://drive.google.com/file/d/1dojva4t7oLJDFw1ZLxiV7RbfzmRCIZUy/view?usp=sharing

Additional information

  • PrestaShop version: 1770finalbuild1
  • PHP version: 7.2

Activity

added
1.7.7.0Affects versions
BOCategory: Back Office
CurrenciesLabel: Which BO under menu is concerned
Customer groupsLabel: Which BO under menu is concerned
MajorSeverity: major bug > https://build.prestashop.com/news/severity-classification
OrderComponent: Which BO section is concerned
ReadyStatus: Issue is ready to be worked on
migrationsymfony migration project
on Nov 25, 2020
added
Nice-to-haveKanban prioritization: issue could be included in next version
on Nov 25, 2020
added this to the 1.7.7.1 milestone on Nov 25, 2020
self-assigned this
on Nov 30, 2020

14 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: BugCurrenciesLabel: Which BO under menu is concernedCustomer groupsLabel: Which BO under menu is concernedFixedResolution: issue closed because fixedMajorSeverity: major bug > https://build.prestashop.com/news/severity-classificationMust-haveKanban prioritization: issue must be included in next versionOrderComponent: Which BO section is concernedPR availableSolution: issue is being addressedRegressionType: regressionmigrationsymfony migration project

Type

No type

Projects

No projects

Relationships

None yet

    Participants

    @Progi1984@sowbiba@marionf@jolelievre@khouloudbelguith

    Issue actions

      Multicurrencies - BO - Order page - Incorrect Product's total when it is in a category discount for the customer Group · Issue #22096 · PrestaShop/PrestaShop