Shopify

How to hide the Add to Cart button on product pages in Shopify?

56 views April 16, 2025 0

If you’re looking to hide the Add to Cart/Buy Now option from certain users on your Shopify store, then you can use our LockOn application. You can add a lock on the “Add to Cart” button in our application. Here are the steps you need to follow:

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

restrict store content based on location go to app

  • Click on the Create Lock button.

  • 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 the 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 when an 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 completed the configurations for hiding/locking the Add to Cart button from your Shopify Store.

Was this helpful?


Hello there!

Need Help? We are right here!

support