Hi there!
I’m wondering if this is possible. I need to restrict customers to only be able to view product/s that are assigned to them. Meaning, Customer A can only view Product A, Customer B can only view Product B and so on.
I’m not a programmer but can find my way around simple code. I was hoping that a simple if statement with tags on the product template could achieve what I need:
i.e. If logged in customer.tags matches product.tags then display the product page else show “Access Denied”
A developer told me that that tags would have to be hard coded but it’s a solution that is not viable for me. Imagine having to open up the liquid file each time I get a new customer to add the tags in. Is there some way it could be done without it being hard coded?
There may be an app which could do this but I much rather not use one.
Thanks. Any ideas appreciated!