Hide loop read more buttons for out of stock items

You need to add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme.

https://gist.github.com/woogists/42265d45b6aa2b7774dd0c6a9c3aa641

2 responses to “Hide loop read more buttons for out of stock items”

  1. […] had used the snippet from woothemes documentation, and modified it to include a link to […]

Leave a Reply

Your email address will not be published. Required fields are marked *