Created
October 26, 2016 18:47
-
-
Save thelonelycats/97ad9afd47bb048ddfbca4952ec91e18 to your computer and use it in GitHub Desktop.
functions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks for this, it helped a lot.
Only changes I made was to drop
close_out_of_stock()
function andwoocommerce_after_shop_loop_item
hook and to output the class to<li <?php post_class() ?>>
element, inside content-product.php, like this:This way I was able to hide a product completely instead of just hiding inner content.
For future reference my WC version is 2.6.14.
Cheers.