- Navigate to Apps >> LockOn – Restrict Store Content application.
- Click on the Create Lock button.
- Enter the name you’d like to give your lock in the Lock Name input box.
- Under the What to lock section, choose the parts or content of your Shopify store you want to lock.
- Select the Lock Criteria as the Selected Customer and select the filter as Accept Marketing. Select the Lock Type as Allow Access to Restrict access to the selected content.
- Under the Handle Unauthorized Access section, choose what happen when unauthorized user try to access locked content. You can redirecct them to any store page, login page, any custom URL, or can show custom HTML.
- You can apply the lock immediately or schedule it to activate at a specific time. Set a custom duration for the lock to automatically restrict or reopen access based on your store’s needs.
- Click on Create.
Hence, you’ve added a lock on Shopify Store based on user’s email subscription status.