Conditional content in Woocommerce
-
HI, I have the following code in my woocommerce theme:
<h2>Top Rated Products</h2>
<?php echo do_shortcode(“[top_rated_products per_page=’4′]”); ?>It’s a new store so we have no ratings yet so I want to wrap this code in some conditional code to hide it until a product is rated. My php is poor, is there an easy solution?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Conditional content in Woocommerce’ is closed to new replies.