0

I am currently using Magento 2.2.3 and I am having some inventory issues with Configurable Products. I am trying to show Out of Stock Simple Products in the Dropdown but let the Customer know it is out of stock when selected. When I getAttributesData of product via Magento\ConfigurableProduct\Model\ConfigurableAttributeData.php but it don't have product is out of stock.

Thanks advance!

0

I am working on something very similar and I am using the answer from this question as a start point but it does what you need.

Magento 2.2 How to show out of stock in configurable product

Hope it helps you with your query.

  • All credit to "Ravindrasinh Zala" – Baber Jun 20 '18 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.