Restrict Access based on City

Applies to : Scale or Higher plans

Feature Description

The Restrict Access Based on City feature allows store owners to control access to different parts of their store based on a visitor’s location at the city level. This is ideal for region-specific product availability, location-based services, exclusive city-specific promotions, or restricting content based on local regulations.

Merchants can apply city-based restrictions to various store elements, ensuring that only users from selected cities can view or interact with them.

Setup Instructions
  • 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

  • Choose which parts of your Shopify store you want to lock from the options provided.

    Choose parts to lock

  • In the Control Access section, select City as the lock criteria. Choose the City from which you want to restrict or allow access, ensuring that only users from the selected city can view the store content. Then, choose whether to Allow or Restrict access for visitors from that city.

    City Restriction criteria

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

  • This is useful for time-sensitive restrictions, such as limited-time sales, exclusive member access, or temporary maintenance.

    Schedule Lock

  • Click on Save.