different passwords for each client

2 0 0

I need to provide different passwords for each customer of my online shop. Also, I would like each customer to have a custom shop view. For example, I would like to show customer1 four collections and customer2 only three collections.

How can I do this?


Thank you in advance

Reply 1 (1)

345 24 44



Each customer has his own password, when he creates an account.


You can customize the view using customer tags. Something like this will do the trick:


{% if customer.tags contains 'VIP' %}
{{ collection['VIP-collection'] }}
{% else %}
{{ collection['bestsellers'] }}
{% endif %}


This is not, of course, the cleanest way, but one of the options.

Feel free to like my post if it was helpful at all