cleanup woocommerce loop

This commit is contained in:
koenemann 2016-09-15 10:39:13 +02:00
parent 0c23350cae
commit 23276f20d5
1 changed files with 4 additions and 0 deletions

View File

@ -24,11 +24,15 @@ get_header(); ?>
<?php
if (is_singular('product')) {
woocommerce_content();
} else {
//For ANY product archive.
//Product taxonomy, product search or /shop landing page etc.
woocommerce_get_template('archive-product.php');
}
?>