I hope you are having an awesome day and thanks for contacting us regarding your query.
This is going to take a little effort, but it should work as I just tested it.
You'll first need to go to Plugins > Add new > Search for Code Snippets > Install and Activate the plugin > Go to Code Snippets > Add New > Give it a name > Add, Save and Activate the code below in the code field:
Is there anyway to turn off or hide the review section in the ECommerce template?
Hi Kimika,
I hope you are having an awesome day and thanks for contacting us regarding your query.
This is going to take a little effort, but it should work as I just tested it.
You'll first need to go to Plugins > Add new > Search for Code Snippets > Install and Activate the plugin > Go to Code Snippets > Add New > Give it a name > Add, Save and Activate the code below in the code field:
add_filter( 'woocommerce_product_tabs', 'wcs_woo_remove_reviews_tab', 98 );
function wcs_woo_remove_reviews_tab($tabs) {
unset($tabs['reviews']);
return $tabs;
}
This will remove the tab, however, it won't remove the stars, so it'll show your ratings on each products.
To remove those if you have them, you'll need to add and save the following code to Salient > General Settings > CSS/Script Related > Custom CSS Code:
/*remove rating on prod page*/
.woocommerce-product-rating {
display: none!important;
}
/*remove stars from category pages*/
.star-rating {
display: none!Important;
}
Please let me know if there are any more questions that I may answer for you
Cheers!
Hey Andrew the Code Snippet removed the Review tab and it looks like hid the stars without me having to change the CSS. Thanks!