From: Laury GvR Date: Mon, 7 Aug 2017 16:42:57 +0000 (-0400) Subject: Actually added the file needed for the previous commit X-Git-Tag: v1.0.0^2~26 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a875c59b81040a662406b76dd046e873d1df12fd;p=WP-Themes%2Fmichigantrailmaps.git Actually added the file needed for the previous commit --- diff --git a/woocommerce/single-product/related.php b/woocommerce/single-product/related.php new file mode 100644 index 0000000..8ce7a28 --- /dev/null +++ b/woocommerce/single-product/related.php @@ -0,0 +1,54 @@ +get_id(), 'product_cat' ); +foreach ( $terms as $term ) {$categories[] = $term->slug;} + +if ( in_array( 'downloads', $categories ) ) { + $related_products = false; +} +if ( $related_products ) : ?> + + + +