magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

'From' Price Shows as 0 for Bundled Products.

Open Varshal24 opened this issue 1 year ago • 12 comments

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.

Varshal24 avatar Jun 17 '24 06:06 Varshal24

Hi @Varshal24. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

m2-assistant[bot] avatar Jun 17 '24 06:06 m2-assistant[bot]

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

  • [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • [ ] 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • [ ] 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • [ ] 5. Add label Issue: Confirmed once verification is complete.
  • [ ] 6. Make sure that automatic system confirms that report has been added to the backlog.

m2-assistant[bot] avatar Jun 17 '24 06:06 m2-assistant[bot]

@magento give me 2.4-develop instance

engcom-Bravo avatar Jun 18 '24 04:06 engcom-Bravo

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

Hi @engcom-Bravo, here is your Magento Instance: https://956a1d96db88e0cbc91d567ed5d35c05.instances-prod.magento-community.engineering Admin access: https://956a1d96db88e0cbc91d567ed5d35c05.instances-prod.magento-community.engineering/admin_463b Login: e8b0a548 Password: a19a70ddd0a1

Hi @Varshal24,

Thanks for your reporting and collaboration.

We have verified the issue in Latest 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.

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 2024-06-18 at 09 47 20

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

Hence Confirming the issue.

Thanks.

engcom-Bravo avatar Jun 18 '24 04:06 engcom-Bravo

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-12171 is successfully created for this GitHub issue.

github-jira-sync-bot avatar Jun 18 '24 04:06 github-jira-sync-bot

:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

m2-assistant[bot] avatar Jun 18 '24 04:06 m2-assistant[bot]

@magento give me 2.4-develop instance

leofdgit avatar Jun 24 '24 09:06 leofdgit

Hi @leofdgit. Thank you for your request. I'm working on Magento instance for you.

Hi @leofdgit, here is your Magento Instance: https://956a1d96db88e0cbc91d567ed5d35c05.instances-prod.magento-community.engineering Admin access: https://956a1d96db88e0cbc91d567ed5d35c05.instances-prod.magento-community.engineering/admin_9a67 Login: e28354f3 Password: 29d88b3b218c

@magento I am working on this

pavel77718 avatar Jul 12 '24 07:07 pavel77718