Hi, we want to hide the reviews section in product page if product has 0 reviews.
We tried both codes in this page but they didnt work: https://stackoverflow.com/questions/33433118/remove-woocommerce-review-tab-if-empty
Maybe because the product page editor shows the reviews section with this shortcode: [dhvc_woo_product_page_reviews]
Ideally, if the code could hide a css class when product has 0 reviews would be better because we would also be able to hide another element together.
But hiding this shortcode solves the issue!
Hiding reviews section when product has 0 reviews
This topic is: not resolved