# Restriction to Pages

You can lock pages of products, collections & any CMS pages with restriction.&#x20;

<mark style="color:blue;">**Step #1 - Passcode Title**</mark>

For the first step for all, give the passcode a title from this respective field.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2F0YKAiZl3QTVFJHF6DgNX%2FScreenshot_85.png?alt=media&#x26;token=9d0c9e05-5e23-4de5-bb0b-c684572bc690" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #2 - Restrict type**</mark>

Select the **Restriction** button, and enter the text that you want to display for your customers.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FjtPnLQxCxgkCr8L0gIlk%2FScreenshot_86.png?alt=media&#x26;token=ea31d8c3-0836-4296-8bdd-e23b748b2a7b" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #3 - Customer Segments**</mark>

Select the options, whether you want to apply the set restriction to all the logged-in users or select customer tags only.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FOj2IwmlZ866Mi06BJSms%2FScreenshot_87.png?alt=media&#x26;token=6b469c5b-4d29-43cf-b132-ccb494ac7cfc" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #4 - Lock Products**</mark>

Select the option on which you want to apply the set restriction will be **applied to all products** of your store.&#x20;

If you want to set the restriction for **specific products** only instead of all products, you can easily search for the products from this search bar and apply the passcode to it.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FAxIuMd9LrvQj02FWyIKX%2FScreenshot_88.png?alt=media&#x26;token=20995bc2-cfbd-4cff-984f-4ed187f465c3" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #5 - Lock Collections**</mark>

Select the option on which you want to apply the set restriction will be **applied to all collections** of your store.&#x20;

If you want to set the restriction for **specific collections** only instead of all products, you can easily search for the collections from this search bar and apply the passcode to it.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FHMNdhgO5AK6Rb3UPm6VA%2FScreenshot_90.png?alt=media&#x26;token=3ae3aec3-db54-4a18-9ac4-507996dbbaf7" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #6 - Lock Pages**</mark>

Select the option on which you want to apply the set restriction will be **applied to all pages** of your store.&#x20;

If you want to set the restriction for **specific pages** only instead of all products, you can easily search for the pages from this search bar and apply the passcode to them.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2Fan0bXjAmO5QIada32c43%2FScreenshot_91.png?alt=media&#x26;token=dc152855-d2d7-4536-a3cd-abf2aab49158" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #7 - Lock Countries**</mark>

Select the option on which you want to apply the set passcode will be **applied to all countries** of your store.&#x20;

If you want to set the passcode for **specific countries** only instead of all products, you can easily search for the pages from this search bar and apply the passcode to them.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FljEUtwaQ5m9YJd2T7zN7%2FScreenshot_92.png?alt=media&#x26;token=35648004-25b3-4a2b-8ddd-5743f1b84529" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #8 - Lock Website**</mark>

If you want to restrict the whole website, select the **whole website restricted** checkbox.

If you want to restrict specific websites, search them up from the search bar.

And, if you want to set the restriction for majority of website excluding a few websites, then you can search for the websites from the search bar and select the **is excluded** checkbox.&#x20;

With this selection, the set restriction will be applied to all the websites <mark style="color:red;">**except**</mark> the website URLs you have selected from the search bar.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FLg6tVMBIffbYGsgKB2Gg%2FScreenshot_93.png?alt=media&#x26;token=8864244a-462e-46bf-a35d-bc87dedf36aa" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #9 - Date Based Restriction**</mark>

<mark style="color:$primary;">**Restrict website by date range**</mark>

If you want to restrict website access for a particular time period, select the **Restrict Website by Date Range** checkbox.

After that, choose the **start date** and **end date** for which you want to apply the restriction.

The website will be restricted only within the specified date range and will automatically become accessible once the period ends.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2Ftam7Y8Hr33r348ZGvk0c%2FScreenshot_84.png?alt=media&#x26;token=f3c6f327-f0b6-4ce8-8f17-cb7ecf35ed11" alt=""><figcaption></figcaption></figure>

<mark style="color:$primary;">**Restrict website on specific days**</mark>

To **restrict access on specific days**, select the **Repeat restrictions on specific days** checkbox and select days like Monday, Wednesday, or Sunday. Access will be limited only on the chosen days for flexible control.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FNs6pMPBAljg6y4Vq0vxo%2FScreenshot_94.png?alt=media&#x26;token=0e1aaffa-f0f5-45c4-9ef7-9b016762f478" alt=""><figcaption></figcaption></figure>

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FwwtV2XmtBOqhYj8zbp8S%2FScreenshot_95.png?alt=media&#x26;token=2c5bfb5d-3953-45b4-9562-8224a6330cdd" alt=""><figcaption></figcaption></figure>
