Shopify

How to restrict access to product variants in Shopify?

127 views June 25, 2025 0

To Allow Access or Restrict Access of product variants to users, please refer to the steps below:

  • Log in to your Shopify store. Navigate to the Apps >> LockOn- Restrict Store application.

    Navigate to Shopify LockOn App
  • Click on the Create lock button.

    Click on Create Lock
  • Provide a name for your lock.

    Provide Lock name
  • Under the What to Lock section, navigate to the Select Content tab and choose the Variants option. This allows you to lock specific product variants while keeping the rest of your store accessible.

    Select Product Variants to Lock
  • Scroll down and click on the Choose Variants button.

    Choose variants to lock
  • Choose the product variants on which you want to apply the lock and click on Select.

    Select variants to lock
  • If you want to add lock on more variants in future, then click on Add more articles button.

    add more variants
  • Now select the lock criteria (logged in user, customer tag, country, state, city, IP address, selected customer, passcode, email domain) under the Control Access section.

    select lock criteria
  • Choose whether you want to Allow or Restrict access to these users.

    allow or restrict access
  • Choose what happen when unauthorized user try to access locked content. You can either redirect them to login page, any store page, any URL or show them custom HTML code.

    Handle Unauthorized Access
  • 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.

    Schedule Lock
  • Click on Save.

  • Navigate to Online Store >> Themes tab and click on Customize button.

    Theme Customize
  • Go to App embeds tab and enable the LockOn-Restrict Store extension. Click on Save.

    Enable App Embeds Extension

Note: This setup will not hide the product variant.

For any assistance in the configuration, please get in touch with our team.

Was this helpful?


Hello there!

Need Help? We are right here!

support