Skip to content

BO - Order page - The gifted product quantity is not updated #21592

Closed
@khouloudbelguith

Description

@khouloudbelguith
Contributor

Describe the bug

In the BO > Order page > Order detail page > we have already a gifted_product in the order.
When we add a Product with an associated gift, The gifted product quantity is not updated

Expected behavior

Explain what you expected to happen instead.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a cart rule
    1.1. no code
    1.2. no condition
    1.3. Free gift demo_12
  2. Go to BO > Orders > An old order created
  3. add demo_12
  4. See error: the quantity of the product added = 1 => it should be 2 (the discount is applied)
    image

1.7.6.8 => ok
image

Additional information

  • PrestaShop version: 1770rc1build2
  • PHP version: 7.2

Activity

prestashop-issue-bot

prestashop-issue-bot commented on Oct 23, 2020

@prestashop-issue-bot

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

added
BOCategory: Back Office
BugType: Bug
Cart rulesLabel: Which BO under menu is concerned
DiscountsLabel: Which BO under menu is concerned
MinorSeverity: minor 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 Oct 23, 2020
added
Nice-to-haveKanban prioritization: issue could be included in next version
on Oct 26, 2020
self-assigned this
on Oct 30, 2020

18 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.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-classificationOrderComponent: Which BO section is concernedRegressionType: regressionmigrationsymfony migration project

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @eternoendless@sowbiba@marionf@jolelievre@khouloudbelguith

      Issue actions

        BO - Order page - The gifted product quantity is not updated · Issue #21592 · PrestaShop/PrestaShop