Skip to content

Bundle Product Show Incorrect Price if Bundle option has quantity more than 1 by default #7718

@frostshoxx

Description

@frostshoxx

Preconditions

  1. Magento version 2.1.2
  2. PHP 7.0.11
  3. MySQL 5.6

Steps to reproduce

  1. Create a bundle product.
  2. Set base price 0.
  3. Add some bundle option. For example, 1 drop down option with $10 product A, 2nd drop down option with $5 product B with default quantity of 4.

Expected result

  1. In theory, the default price should be $0 + $10 + (4x $5 = $20) = $30 and that show be consistently shown on category page, product page, and shopping cart (if added).

Actual result

  1. On the product page the top price that show under the product name is for some reason show as $0 + $10 + (4 x 4 x $5 = 80) = $90.
    issue1

  2. The bottom price toward the end where we specify quantity is show the correct $30.
    issue2

issue3

So in the other words, the first price, which is also the same price that shows on the category page incorrectly combine the 4 x qty price on top of the pre-computed (4 x $5) again.

The bottom part and the final amount show on the shopping cart is shown correctly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions