Knowband Blog | Ecommerce Modules

Prestashop Block User/Bot by IP, Country, User Agent – User Manual

1.0 Introduction

To protect your eCommerce store from spammer, fake registration, and unwanted traffic, Prestashop Block User/Bot by IP, Country or User Agent has come in quite handy. The Prestashop Block User Addon helps the store admin to block or keep away the unwanted boots from their site by creating a list of the IP addresses, countries and user agents that he wants to keep away from the site. It also has the option to customize messages that are shown on the frontend or to the banned user. This Prestashop module, also provides the option for “Request for removing the banishment” to the banned user, which can be helpful to identify the user if he got blocked mistakenly.

With the digitalization of the eCommerce websites, automated programs commonly referred to as bots are designed for both beneficial and destructive purposes. Banning the bots with malicious intent can lead to a secure eCommerce website. Any website especially a shopping website is concentrated with the bulk of user data including their personal and confidential information. Bots can be used for many malicious purposes including fake registrations, stealing the content and other useful details. This Prestashop Block User/Bot by IP module from Knowband can help you with malicious purposes bots without making any changes in the website code.

What’s new?

 

1.1 Objectives of Prestashop Block Bot Addon

Listed below are some of the objectives that can be achieved with the help of this Prestashop Block User/bot by IP Addon.

2.0 Installation

After purchasing module, you will get following files as listed below:

Follow the steps mentioned below in order to install the extension on your store:

  1. Unzip the blockuser.zip file. The unzipped folder contains the files and folders as shown in the image below –
  2. Copy all the files and folders of zipped folder and paste them into your store “Modules” directory. Follow the address path Root Directory/modules/.
  3. Now module is ready to be installed on your store and you can find that in Store Admin -> Modules and Services. It would shown as below –

In case, you are not able to find module in admin modules list, please try searching module with following details –

Keyword – Block User

Category – Front office

Filter By – Installed & Not Installed / Enabled & Disabled

Click on “Install” button to install the module. It would show a pop-up for your confirmation. Click on “Proceed with the installation” option. This step will install the module and show notification – “Module(s) installed successfully”.

3.0 Admin Interface

The Prestashop block user module offers to be an effortless means to block the unwanted traffic from the site from the admin interface without making any code changes in the website. Here we described how the admin interface works.

3.1 How to start using the module?

In admin interface we have five tabs which are labeled as “Module Configuration”, Block User by IP Address, “Block User by Country”, “Block by User Agent” and “Blocked Customer Request”.

Now we are starting with the first tab i.e ‘Module Configuration’. This tab will be the default option. Below are the options which will be covered under this tab.

3.2 How to get Site Key and Secret Key?

Follow these steps to get Site and Secret Key –

Visit the URL: https://www.google.com/recaptcha/intro/v3.html

Click on “SIGN UP” if you do not have a Gmail account.

Create/Login to your Gmail account and then click on create.

3.3 How to block user or bot by IP address?

The Next tab is ”Block User by IP Address” which includes the entire list of the IP addresses that have been entered by the admin with their “ID”, “IP Address”, “Active” and “Last Update” Status.

3.4 How to block user or bot by country?

The ‘Prestashop Block User/bot by Country’ include the list of the countries that have been selected for the banishment. The e-merchants can block the entire country from accessing their website. “Prestashop block user/bot by country addon” comes as a handy tool when it comes to limiting the access to the site from a particular location.

3.5 How to block user or bot by User Agent?

With the help of Prestashop block customer/bot by user agent, the module allows the store owner to block the users based on the user agent being used from the tab ‘Block by User Agent’.

3.6 Blocked Customer Request

The front-end of the website offers an option to the customers to send a request for unblocking them by entering their email address and message. The entire list of the requests generated can be viewed by the admin in the ‘Blocked Customer Request’ tab then the request can be processed further accordingly.

3.7 Allow User by IP

The store admin can allow unblocking through the IP address of the blocked users. The admin can see the allowed IPs from the Allow user by IP tab.

3.8 Knowband all IP Requests:

With Knowband all IP Requests tab, the PrestaShop admin can now track all the IP addresses that hits or accesses their stores.

4.0 Website UI

The users can be blocked based on their IP address, the country as well as the user agent. Once a visitor is denied the access to the site, a message is shown to him/her along with the option to send their unblock request to the Prestashop store admin.

The store owner can restrict the customers from viewing the header and footer as well. In this, the functionality is disabled from the front-end of the website and will be shown as in the image below:

4.3 Customer Request

The blocked users can even request the admin to unblock him from the site by sending a request message. The request will be listed in the admin panel of the interface and can be processed accordingly.

Once the request is send, a message will be flashed in the front-end.

 

Prestashop spam blocker addon allows the admin to show header and footer information to the blocked users/bots. This way the confidentiality of the website is maintained along with providing some useful content to the spam users. Consequently, this addon helps in achieving quality traffic to the website thereby adding to the security of the website. Store admins can purchase this user blocker addon from the Addon Store