Shopify

How can I make the Add to Cart option available only to logged-in users?

88 views April 16, 2025 0

  • Navigate to Apps >> LockOn – Restrict Store Content application.

restrict store content based on location go to app

  • Click on the Create Lock button.

restrict store content based on location create lock

  • Enter the name you’d like to give to your lock in the Lock Name input field. Under the What to Lock section, select the Add to Cart & Buy Now button option. If you also want to hide the product prices, then check the Hide Product Prices option as shown in screen below.

Enter the name you'd like to give your lock in the Lock Name input box

  • Under the Control Access section, select the criteria (logged-in user, customer tag, location, IP, passcode, email domain, etc.) based on which customers will be allowed or blocked from accessing the Add to Cart & Buy now button.

restrict store content based on location select customer criteria

  • Under the Handle Unauthorized Access section, choose what happens whenan unauthorized user tries to access locked content. You can redirect them to any store page, login page, any custom URL, or show custom HTML.

restrict store content based on location create location lock

  • 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.

lock shopify store how to lock

  • Click on Create.

Hence, you’ve added a lock to the Add to Cart & Buy now button in your Shopify store.

Was this helpful?


Hello there!

Need Help? We are right here!

support