I am currently working on a WordPress eCommerce website, where the chosen shopping platform is WooCommerce.

I would like the ability to hide ‘Out of Stock’ product variations but cannot seem to find a solution, anywhere on the Internet.

For example, say I have a Shoe Shop whereby the website sells Shoes. Product Drop Down Menu is as follows:

  • Shoe Size

    • 9
    • 10
    • 11
  • Shoe Colour
    • Red
    • Blue
    • Yellow
  • Shoe Style
    • Trainers
    • Casual
    • Velcro

Say the website does not have Blue Size 9 Trainers. If a shopper selects any 1 of those options from the drop down menu, the other options will be removed/greyed out.

I understand that there is a ‘Hide Out of Stock’ option, within the WooCommerce Settings but this only affects the Main Product rather than the Product Variations.

I have tried manually deleting the Product Variation, within the Product Page’s backend but the variation still exists; a message simply appears saying ‘This product is unavailable. Please select another combination.’

Any guidance on this matter, would be greatly appreciated.

Read more here: Is it possible to hide specific Product Variations on WooCommerce?


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: