magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.48k stars 9.29k forks source link

Gray out Not working if one of option of configurable Product is out of stock #32924

Open ia-gaurav opened 3 years ago

ia-gaurav commented 3 years ago

Preconditions Magento 2.4.2 Browser Chrome/Firefox

Issue: Out of stock configurable product with custom attribute configuration Size and Fit (custom configuration with visual swatch options) is not greyed out in the front end product page.

Steps to reproduce:

  1. Back End Side (admin) : Create a configurable product (Using existing, it might not reproduce). Use Size Attribute configuration. Also create a new attribute with the name Fit having visual swatch option (keep default white color to the swatches; Swatches options with under18 and 18+).
  2. Save the product configuration.
  3. Go to Admin: Store > Configuration >> Catalog > Inventory ; Set the option Display Out of Stock Products - Yes (This has been in the below screen shot) image
  4. Open the product in the front end, it loads properly (make sure cache is cleared and re-indexed in case if it is not showing in the front end.) It opens appropriately. (as shown in the screen shot below) image
  5. Back end - Open any one product SKU and mark it as out of stock as shown in below screen shot. image
  6. Again come back to the front product page and reload the product.
  7. try to select the out of stock option.

Expected: If we select the size that is out of stock and then immediately relevant Fit option should be greyed out. Actual: Still the Fit option is keeping enabled and able to select image

m2-assistant[bot] commented 3 years ago

Hi @ia-gaurav. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


: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, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

ia-gaurav commented 3 years ago

@magento give me 2.4-develop instance - upcoming 2.4.x release

magento-deployment-service[bot] commented 3 years ago

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

magento-deployment-service[bot] commented 3 years ago

Hi @ia-gaurav, here is your Magento Instance: https://7ddb6f37aa38bfd6271001e7003c1a9d-2-4-develop.instances.magento-community.engineering Admin access: https://7ddb6f37aa38bfd6271001e7003c1a9d-2-4-develop.instances.magento-community.engineering/admin_a3b5 Login: 71094d9d Password: 6f2df24249ea

m2-assistant[bot] commented 3 years ago

Hi @engcom-Alfa. 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:

magento-engcom-team commented 3 years ago

@engcom-Alfa Thank you for verifying the issue.

Unfortunately, not enough information was provided to acknowledge ticket. Please consider adding the following:

Once all required information is added, please add label "Issue: Confirmed" again. Thanks!

magento-engcom-team commented 3 years ago

@m2-community-project[bot] Thank you for verifying the issue.

Unfortunately, not enough information was provided to acknowledge ticket. Please consider adding the following:

Once all required information is added, please add label "Issue: Confirmed" again. Thanks!

github-jira-sync-bot commented 3 years ago

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

m2-assistant[bot] commented 3 years ago

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

pavel77718 commented 2 years ago

@magento I am working on this