Skip to content

Out of stock label is not working correctly for grouped type product.#3048

Open
nmalevanec wants to merge 6 commits intomagento:1.2.0-developfrom
nmalevanec:GroupedProductOptionSalabilityFix
Open

Out of stock label is not working correctly for grouped type product.#3048
nmalevanec wants to merge 6 commits intomagento:1.2.0-developfrom
nmalevanec:GroupedProductOptionSalabilityFix

Conversation

@nmalevanec
Copy link
Copy Markdown
Contributor

Description (*)

Fixed Issues (if relevant)

  1. none.

Manual testing scenarios (*)

  1. Create grouped product wit two options on custom stock.
  2. Navigate to storefront and buy all qty of one of the grouped product options.
  3. Place order and clean cache.
  4. Verify sold out option is not visible on grouped PDP.

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@nmalevanec
Copy link
Copy Markdown
Contributor Author

@magento run all tests

@nmalevanec
Copy link
Copy Markdown
Contributor Author

@magento run all tests

@smoskaluk
Copy link
Copy Markdown

@nmalevanec I consider that sold out option of grouped product should be visible but deactivated (striked?) on grouped PDP if in Configuration enabled 'Display Out of Stock Products'. Please recheck

@nmalevanec
Copy link
Copy Markdown
Contributor Author

@magento run all tests

@nmalevanec
Copy link
Copy Markdown
Contributor Author

@nmalevanec I consider that sold out option of grouped product should be visible but deactivated (striked?) on grouped PDP if in Configuration enabled 'Display Out of Stock Products'. Please recheck

Fixed.

@bubasuma
Copy link
Copy Markdown
Contributor

@nmalevanec @smoskaluk
I am working on similar issue. I couldn't reproduce this issue with 1.2-develop
I followed the steps in the description. CRON should be running in the background as products salability are updated via queue.

  1. I created 2 simple products with quantity 11, 22 respectively and 1 grouped product associated with 2 simple products

Screen Shot 2020-08-12 at 3 51 24 PM

  1. I placed an order with product 1 (qty: 11) and product 2 (qty: 1)

Screen Shot 2020-08-12 at 3 50 33 PM

  1. Grouped product PDP after order

Screen Shot 2020-08-12 at 3 51 48 PM

  1. Grouped product PDP after order (Display Out of Stock Products = Yes)

Screen Shot 2020-08-12 at 3 54 12 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready for Review

Development

Successfully merging this pull request may close these issues.

4 participants