Removing Register From

New Member
1 0 0

Hi there, 
We've paused our online store as we no longer sell online anymore. In the meantime, we've removed any access to the accounts / register form from the website until we sort out a non-eCommerce site. The URLs are still live so I've tried to redirect them to the home page.

Screen Shot 2021-04-21 at 12.05.19 PM.png
However, the registration form is still clickable if you have the URL and doesn't redirect; we've had one User access it and fill it out. 

Is there a way of actually turning it off or fixing the redirect? 

Shopify Partner
223 59 71

This is an accepted solution.

Only modify code files if you're comfortable with it. Make changes at your risk.

You can comment out the registration code in the liquid file. To do this, navigate to Themes -> Edit code -> Templates -> customers/register.liquid. Now add this code at the start of the file and end of the file:

{% comment %}
.. code for registration
{% endcomment %}


I have attached screenshots to make it easier for you:

Screenshot 2021-04-21 at 2.41.07 am.pngScreenshot 2021-04-21 at 2.41.14 am.png


If you found my answer helpful, please LIKE and ACCEPT. ☕
If you're not comfortable with code, please modify code files at your own risk.
Do NOT give out your passwords unless absolutely necessary.