cleanup woocommerce loop
This commit is contained in:
parent
0c23350cae
commit
23276f20d5
|
@ -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');
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
Reference in New Issue