Shopify Apps

  1. Home
  2. Docs
  3. Shopify Apps
  4. Login to Access Pages App: FAQs
  5. How to use FREE Login to Access Pages app?

How to use FREE Login to Access Pages app?

Please follow:

1. Enable the app

In Enable app, choose Yes to enable “Login to Access Pages” functionality and No to disable it.

The Date Visibility function is available in the Pro Plan.

2. Choose the display type.

2.1 Show Custom Message

Custom-Message

If you set the Login type to Show Custom Content.

Content field is shown to tailor any message to inform customers of the login request.

In Apply to, you can:

    • Choose to restrict All product pages
    • Choose to restrict All collections
    • Choose to restrict Specific Page Types

If you desire to restrict specific product page(s)/collection(s)/URL(s), please upgrade to Pro Plan. Or, upgrade to Plus Plan to lock pages for specific groups of users based on their tags.

Remember to save all settings.

In the storefront, this content will be displayed when guests try to access the private pages.

2.2. Show Login Form

Instead of the custom content, you can display the default login form, making it quick and easy for customers to log in and continue exploring pages.

Login-Form-FREE

Accordingly, set the Display type to Show Login Form. Then, in Redirect type, choose a place to redirect customers after their successful login.

There are three options available.

    • Account Dashboard: Like the Shopify default function, customers will be redirected to the Account Dashboard page after logging in.
    • Custom Page: An additional field named Redirect URL is shown. Then, insert a specific URL to redirect customers after their login.
    • Restricted Page: Visitors will be redirected to the private page they are trying to access.

In Apply to, you can:

    • Choose to restrict All product pages
    • Choose to restrict All collections
    • Choose to restrict Specific Page Types

If you desire to restrict specific product page(s)/collection(s)/URL(s), please upgrade to Pro Plan. Or, upgrade to Plus Plan to lock pages for specific groups of users based on their tags.

Finally, Save all settings.

In the storefront, the login form will be shown instead of the custom message.

3. How to Install/Uninstall the app?

There are two options to uninstall the Pro Login to Access Pages app.

  • Option 1: Uninstall the app automatically
  • Option 2: Uninstall the app manually

3.1. Uninstall the app automatically

Please go to Apps ⇒ Login to Access Pages.

To uninstall the app:

Step 1: Select Restore all previous settings
In the popup, choose Restore: After that, you will be redirected to the App list.

Step 2: Select “Delete” icon (the trash)

Step 3: Remove the app

We would appreciate it if you could spend your time giving us some feedback so that we can improve our app and services better. This is totally optional.
To complete the uninstallation, please choose the Remove button.

3.2. Uninstall the app manually

Besides using the “Restore all previous settings” button in the admin, you can also remove the app manually as follows:

Step 1: Go to Themes Folder

Step 2: Open layout/theme.liquid file.

Then find and remove the following code

{% include 'login_require' %}

Step 3: Finally, find and remove the following files

login_require.liquid in Snippets folder

bsscommerce-passcode.liquid in Snippets folder

tiny.content.min.css in Assets folder

Once you remove the file as above, your uninstallation is completed. Please refresh the storefront to check the result. If your uninstallation is successful, users will no longer be restricted from accessing any pages.

Need help? Please email us at sales@bsscommerce.com or send a message via Live Chat.

Was this article helpful to you? Yes No 1

How can we help?