Skip to content

On editing a Bundle product from shopping cart the user defined quantities of the options are overwritten #4942

Closed
@densen45

Description

@densen45

Steps to reproduce

  1. Install Magento CE 2.0.6
  2. Create a Bundle product with at least one option of type radio and enable user defined quantity
  3. Add more then one product to the option and enable user defined quantity
  4. Open the Bundle product on frontend
  5. Change the quantity of an option
  6. Add the Bundle product to the shopping cart
  7. Go to the shopping cart
  8. Press the "Edit" button in order to edit the Bundle product

Expected result

  1. The quantity of the option should be the user defined one

Actual result

  1. The quantity of the option is not the user defined one. It is the selections' default quantity.

Debugging until now

  1. On page load the quantity is the user defined one (see variable $_defaultQty in radio.phtml).
  2. Then the value (property, not the attribute) of the input field is changed through Javascript
  3. Don't know were this happens exactly but for sure the _onBundleOptionChanged(event) of the price-bundle.js is involved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CheckoutFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug reporttriage wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions