We have wholesale buyers and privat customers on our website.
I am trying to hide products for Wholesale Buyers, so the product will only be visible for the privat customer (not logged in customer).
What should i do?
I've tried to figure out what the role for privat customer are, but i haven't found anything.
I've already have "if ( is_user_logged_in() )" in my functions code where i hide categories in the category-widget from the privat user. Can i use that again?