How to Whitelist Desired Customers Based on Their IP, User ID, or Email?

Whitelisting Desired Customers Based on Their IP, User ID, or Email

To allow specific customers to bypass password protection and access your PrestaShop store freely, you can whitelist them based on user ID, email address, or IP address. Follow these steps to configure the whitelisting settings.

Steps to Whitelist Special Customers

Navigate to the Whitelisting Settings:

In the PrestaShop back office, locate the whitelisting settings within the password protection module.

Configure the Whitelisting Options:

Complete the following fields to whitelist special customers:

  • User ID Active: Choose to whitelist customers based on user IDs.
    • IDs: Add the user IDs of customers with comma-separated values.
  • Email Active: Choose to whitelist customers based on email.
    • Email: Add the email addresses of customers with comma-separated values.
  • IP Address Active: Choose to whitelist customers based on IP addresses.
    • IP Address: Add the IP addresses of customers with comma-separated values.

Save Your Settings:

After configuring the desired whitelisting options, click the “Save” button to apply the changes. 

Customers matching the specified criteria will now be able to access the store without encountering password protection.

Example Configuration:

Here is an example of how you might configure the whitelisting settings:

  • User ID Active: Enabled
  • IDs: 101, 202, 303
  • Email Active: Enabled
  • Email: vipcustomer@example.com, regularbuyer@example.com
  • IP Address Active: Disabled

With these settings, customers with user IDs 101, 202, and 303, or email addresses vipcustomer@example.com and regularbuyer@example.com, will be whitelisted and able to access the store without password protection.

By following these instructions, you can effectively manage access for special customers.