Skip to main content

Hiding the Leave a Review and Customers Review section on a specific product

More
3 years 3 months ago #352364 by jcamus
-- HikaShop version -- : 4.7.3

Hello,

Is there a way to hide the Leave a Review and Customers Review section on a specific product (or for an entire category) but keep it for tohers?

Thank you,

Julien

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #352367 by nicolas
Hi,

Yes. You can use CSS code to hide that area:
Code:
#hikashop_comment_form { display: none; }
And if you want to do it only for the products of a category, you can use instead this CSS:
Code:
.hikashop_product_of_category_xx #hikashop_comment_form { display: none; }
where xx is to be replaced by the id of the category you want to target.

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #352383 by jcamus
thank you will try that. Would:

.hikashop_product_of_category_xx #hikashop_comment_form {
display: none;
}

hide it for products within subcategories of the category listed in the CSS above?

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #352386 by nicolas
Hi,

No. The category must be directly linked to the product.

Please Log in or Create an account to join the conversation.

Time to create page: 0.170 seconds
Powered by Kunena Forum