Jump to content

Displaying products based on specific product property


Recommended Posts

Hello everybody,

I have the following problem:
I have added a self-defined property (boolean) that can be maintained per product. The aim should be that visitors (not logged in) shouldn't see all the products.

That means:
If the property is true, then the visitor of the shop sees the product.
If the property is false, then the visitor of the shop doesn't see the product. Only when he is logged in the product should be displayed.

Unfortunately, I am currently a bit in despair. Adding the property was not a problem. As I understand it, I have to adjust the search query in the category view. Unfortunately, I do not understand how. Can someone help me?

Thanks in advance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...