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.
Categories
2 replies on “Hide loop read more buttons for out of stock items”
[…] had used the snippet from woothemes documentation, and modified it to include a link to […]
LikeLike
[…] https://docs.woocommerce.com/document/hide-loop-read-more-buttons-for-out-of-stock-items/ […]
LikeLike