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!

1 Answer 1

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.

1
  • All credit to "Ravindrasinh Zala"
    – Baber
    Commented Jun 20, 2018 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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