different passwords for each client

Sodini
Visitor
2 0 0

Hi,
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)

kgbfashionista
Navigator
345 24 44

Hi,

 

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