Skip to content

Bundle Products - while required options are automatically selected, price calculation error appears. #4310

Closed
@creatuitydevelopers

Description

@creatuitydevelopers

Hello All,

We have encountered an error related to bundle product pages - if there are any required options for a bundle product, then they are automatically selected in frontend, but the price is not updated. Changing the selection is the only way to recalculate the price.

Steps to reproduce

  1. Go to Magento admin panel.
  2. Crate a bundle product with various prices for different products options and at least one required option.
  3. Go to newly created product on frontend.
  4. Click on "Customize and add to cart".
  5. You should see the price for your product below "Add to Cart" button.
  6. As you can see, the price is lower than minimum price at the top of the page.
  7. All the required selections, are automatically pre-selected with cheapest option. However, it does not reflect the total price of the bundle product.
  8. After changing pre-selected options to any other you can see that the price changes.
  9. Select the value that was pre-selected automatically again. You can see the difference between current price and the one displayed at the very start.

Expected result

  1. Bundle product's price will be calculated correctly even if required options are defined.

Actual result

  1. Bundle product's price is not being calculated correctly if there are any required options.

Screenshots:

  1. Price on top of the page:
    magento2_issue2a
  2. Price of the product with obligatory options:
    magento2_issue2b

Metadata

Metadata

Labels

Component: TaxFixed in 2.1.xThe issue has been fixed in 2.1 release lineFixed 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: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions