Please provide your URL in the question. 99% of the time support questions are answered within 24 hours by the theme authors. If you need a new feature for the theme: post it in its category. Once it will get some up votes we will add it in the next update.

Hidden products in you will also like section

0 votes
Hi,

 

I use a plugin to show and or hide categories based on user accounts or user roles. I did a test with one product that I placed in a public categorie, but I also added this product to a hidden category only visible to specific users / user roles.

When I click this product the section (you will also like) shows other products from that categorie. Now i'm not quite sure but i think I know what is happening. Because the category that is hidden from public is now actually not hidden anymore because the product is visible in both categories. I also asked the plugin developer this question on how to fix this issue. And i'm also asking it here to see if I can get some help / insight into not showing those products from that hidden category, and only that one product.

 

You can view this happening on http://rental.banoshop.eu/product/double-robotics-double-remote-presence-robot/ When you click a product in this section nothing happens because it is restricted. So on that level it works. The only thing left is not showing it at all when not logged in.

Note that I can hide it with a function "if not logged in" but other members with an account and no access to this specific category can also see this when logged in so that was not an sollution to my problem.

Regards,

 

Tim
asked Sep 4, 2014 in Cosmetico by TimW (240 points)

1 Answer

0 votes
Hi Tim, this is not theme related question. We just show normal woocommerce templates. Thats it. This is theme support only.

if you can hide with if logged function then this plugin should have role specific functions.
answered Sep 4, 2014 by Paul cb-theme (95,160 points)
Ok, we already did knock on the developers door. Thanks for the quick reply.
...