Description
Preconditions (*)
Tested on this versions:
- 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 (*)
- Create bundle product with 30 options.
- Pagination will appear as shown in the screenshot below (screenshot-1).
- Navigate to the second page of the bundle options and change one option quantity from 1 to 0 (screenshot-1).
- Return to the first page of the bundle options and then save the product.
- The product will be saved successfully.
- When you view this product on the front end, you will notice that the "From" price is displayed as 0 (screenshot-2).
Screenshot-1
Screenshot-2
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.