Skip to content

BO - Order page - Updating a product with a specific discount (gift) #21506

Closed
Listed in
@khouloudbelguith

Description

@khouloudbelguith
Contributor

Related to this PR

Describe the bug

A clear and concise description of what went wrong.

Expected behavior

Explain what you expected to happen instead.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a cart rule
    1.1 Informations: without code
    1.2 Conditions: Product selection demo_6
    1.3 Actions: Free shipping + discount amount = 1euro tax included + Free gift (demo_11)
  2. Add a product demo_11 to the cart
  3. Continue checkout
  4. Go to the BO > Order detail page
  5. Try to add demo_6 to the order
    In this case, we have two behaviors

If the quantity of demo_11 = 1
=> the discount is well applied but quantity of demo_11 = 1 (not updated)
image

If the quantity of demo_11 > 1 (=2)
=> the discount is well applied and quantity of demo_11 = 2 (well updated)
image

Additional information

  • PrestaShop version: 1.7.7.x
  • PHP version: 7.2

Activity

prestashop-issue-bot

prestashop-issue-bot commented on Oct 19, 2020

@prestashop-issue-bot

Thanks for opening this issue! We will help you to keep its state consistent

added
BOCategory: Back Office
OrderComponent: Which BO section is concerned
ReadyStatus: Issue is ready to be worked on
BugType: Bug
Cart rulesLabel: Which BO under menu is concerned
DiscountsLabel: Which BO under menu is concerned
on Oct 19, 2020
khouloudbelguith

khouloudbelguith commented on Oct 19, 2020

@khouloudbelguith
ContributorAuthor

Ping @jolelievre @MatShir what do you think about the severity of this issue? is it minor or Major?

Thanks!

added
MinorSeverity: minor bug > https://build.prestashop.com/news/severity-classification
on Oct 19, 2020
MatShir

MatShir commented on Oct 19, 2020

@MatShir
Contributor

I would say Minor since it happens only when there is one product left.

added
Nice-to-haveKanban prioritization: issue could be included in next version
on Oct 19, 2020

19 remaining items

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

Metadata

Metadata

Labels

1.7.7.xBranchBOCategory: 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 concernedPR availableSolution: issue is being addressedRegressionType: regression

Type

No type

Projects

No projects

Relationships

None yet

    Participants

    @eternoendless@Progi1984@matthieu-rolland@marionf@jolelievre

    Issue actions

      BO - Order page - Updating a product with a specific discount (gift) · Issue #21506 · PrestaShop/PrestaShop