How can I create a "subscribtion-only" website ?

How can I create a "subscribtion-only" website ?

foolitud
New Member
16 0 0

Hi,

 

We would like to add to our website a landing page where people has to : either log in or create an account.

 

Do you know the best way to do it ?

 

Also, is there a way to implement Google connect to faster the account create ?

 

Thanks a lot,

Reply 1 (1)

gr_trading
Shopify Partner
2059 149 212

Hi @foolitud ,

 

For this you update your theme.liquid file code with below.

 

{% unless customer %}
<script>
location.href =  "https://{{ shop.domain}}/customer_authentication/login"
</script>
{% endunless %}

 

Above code will redirect the user to login page if user is not login.

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee