Variations in the drop-down list all appear to be available. It’s not until one is selected that it is shown as out of stock. This code snippet disables selection of the out-of-stock options and greys them out. If your theme is not showing any difference between the disabled and enabled options you may need to … Read moreShow out of stock variation selections as greyed out
If an item is out of stock there is no indication of this on the category page. Customers need to visit the individual product page to discover the availability. This code adds a line to the category page to say an item is out of stock. Change the message if you prefer “Sold out” or … Read moreDisplay ‘Out of stock’ on category pages
Products that are out of stock still invite customers to read more. It is not clear the product is unavailable until the visitor have viewed the individual product page. This code hides the “read more” button when a product is out of stock.