0

sizes options not showing on configurable products if all sizes out of stock.
Any way to show out of stock sizes?

2

3 Answers 3

0

I not sure to tell , may be that out-of-stack message issue occure based on the quantity of products. so check your quantity in (simple products-configurable) through admin panel.

0

As per my understanding of your question, It is default Magento bug. (Maybe I am wrong ).

This issue is already reported in Magento Github (Attributes - Display Out of Stock Products). and this issue is open issue.

I hope it helps!

0

Yo! Yo! Find Solution!
override vendor/magento/module-catalog/view/frontend/templates/product/view/form.phtml

Create in below directory and open file

app/design/frontend/<Vendor>/<Module>/Magento_Catalog/templates/product/view/form.phtml

Remove $_product->isSaleable() condition from line no.35

enter image description here
enter image description here

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.