Skip to content

'From' Price Shows as 0 for Bundled Products. #38833

Open
@Varshal24

Description

@Varshal24

Preconditions (*)

Tested on this versions:

  1. Magento 2.4-develop

Description (*)

When visiting the bundled product on the front end, the "From" price shows as 0. This issue occurs because one of the bundle product options has a quantity of 0. For example, as mentioned in the steps, create 30 options in the bundled product. After that, pagination will appear. If you change the quantity from 1 to 0 on the first page, it shows the validation message: “Please enter a number greater than 0, without a comma in this field.” Similarly, if you go to the second page and change the quantity to 0, it also shows the validation message. However if you save the product as mentioned in the steps and visit the front end, the "From" price will show 0. If the option price is 0 then it should not allow to change the page or not allow to save the product.

If you change quantity 0 to 1 then everything works fine.

Steps to reproduce (*)

  1. Create bundle product with 30 options.
  2. Pagination will appear as shown in the screenshot below (screenshot-1).
  3. Navigate to the second page of the bundle options and change one option quantity from 1 to 0 (screenshot-1).
  4. Return to the first page of the bundle options and then save the product.
  5. The product will be saved successfully.
  6. When you view this product on the front end, you will notice that the "From" price is displayed as 0 (screenshot-2).

Screenshot-1

image

Screenshot-2

image

Expected result (*)

When visiting the bundled product on the front end, the "From" price should display correctly.

Actual result (*)

The "From" price is showing as 0 when visiting the bundled product on the front end.

Metadata

Metadata

Labels

Area: CatalogComponent: BundleIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: PR in progressReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions