{"id":47983,"date":"2016-05-05T10:53:58","date_gmt":"2016-05-05T10:53:58","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=47983"},"modified":"2025-10-15T11:58:09","modified_gmt":"2025-10-15T11:58:09","slug":"prestashop-block-product","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/prestashop-block-product\/","title":{"rendered":"Prestashop Restrict Shop Access by Country, IP and User-Agent \u00a0{User-Guide}"},"content":{"rendered":"\n<p>The widespread business of eCommerce all over the world is also making it more vulnerable &amp; prone to cyber threats with each passing day. <\/p>\n\n\n\n<p>Although, there are various available options to prevent such attempts. <\/p>\n\n\n\n<p>However, we all know that it&#8217;s better to keep the matchsticks out of the house than to keep the fire extinguisher in order to prevent a fire. <\/p>\n\n\n\n<p>Using that same concept, we bring you this module i.e. Prestashop Restrict Shop Access module to allow you to restrict access to the shop for some identified threats.<\/p>\n\n\n\n<p>Apart from the above, this module with its unique features also allows you to apply restrictions based on various grounds. <\/p>\n\n\n\n<p>Say, you have seen a trend of malware attacks coming mostly from &#8220;xyz&#8221; browser or &#8220;abc&#8221; country.<\/p>\n\n\n\n<p>Then in such a case, you can now simply add them to your blocking list. So that any user from the identified country using identified browsers can now simply be blocked from using the website. <\/p>\n\n\n\n<p>It also provides the functionality to add some specific IP addresses to block the traffic coming from there to the website.<\/p>\n\n\n\n<p><strong>Note:<\/strong> In the following document, the word &#8220;<strong>user-agent<\/strong>&#8221; simply refers to the browser which the customer uses to access the website.<\/p>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Features of the Prestashop Restrict Shop Access module<\/h3>\n<\/div><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Apply restriction on access of products, shop or both.<\/li>\n\n\n\n<li>Choose to show or hide the restricted products from the shop.<\/li>\n\n\n\n<li>Restrict the category pages on the shop.<\/li>\n\n\n\n<li>Option given to restrict the product listing pages on the shop.<\/li>\n\n\n\n<li>Option given to restrict the CMS pages on the shop.<\/li>\n\n\n\n<li>Restrict the access of the shop customer group wise.<\/li>\n\n\n\n<li>Allow user to send request for shop access or product access.<\/li>\n\n\n\n<li>Admin can allow product or shop access to specific customer.<\/li>\n\n\n\n<li>Block products on the basis of the customer&#8217;s delivery address or IP address.<\/li>\n\n\n\n<li>Set date and time range to restrict user from accessing product, shop, or both.<\/li>\n\n\n\n<li>Set URL where you want to redirect user in case you have restricted shop pages.<\/li>\n\n\n\n<li>You can hide products from the entire shop if the products are blocked on the basis of the customer&#8217;s delivery address or IP address.<\/li>\n\n\n\n<li>Enable or disable the display of the product details page.<\/li>\n\n\n\n<li>Configure the message to inform the customer about the unavailability of product for the specific address.<\/li>\n\n\n\n<li>Set multiple conditions to restrict shop or product access for specific customer groups.<\/li>\n\n\n\n<li>Select single or multiple countries to block the product.<\/li>\n\n\n\n<li>Choose to restrict the access on the basis of user agents.<\/li>\n\n\n\n<li>Add multiple user agents according to their versions to block their users.<\/li>\n\n\n\n<li>Also, choose to restrict access via certain user agents for their specific version or all versions.<\/li>\n\n\n\n<li>Add multiple IP addresses to block the product.<\/li>\n\n\n\n<li>Customers will be able to know the availability of the product in their country.<\/li>\n<\/ul>\n\n\n\n<p><strong>Note:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Prestashop&nbsp;Restrict Shop Access by Country, IP and User-Agent module is compatible with PrestaShop multi-store feature.<\/strong><\/li>\n\n\n\n<li><strong>Prestashop&nbsp;Restrict Shop Access by Country, IP and User-Agent module is compatible with catalog&#8217;s&nbsp;new product page<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">How to install the Prestashop Restrict Shop Access module<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Firstly, go to the module manager in back office and click on \u2018upload a module\u2019.<\/li>\n\n\n\n<li>After that, drag and drop the module file or select the file from the system.<\/li>\n\n\n\n<li>In this way, the module installation will be successful.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"414\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-113.png\" alt=\"image-113\" class=\"wp-image-390999\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-113.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-113-300x104.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-113-250x86.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-113-768x265.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"552\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-113-1.png\" alt=\"image-113-1\" class=\"wp-image-391000\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-113-1.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-113-1-300x138.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-113-1-250x115.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-113-1-768x353.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"544\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-114.png\" alt=\"image-114\" class=\"wp-image-391001\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-114.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-114-300x136.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-114-250x113.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-114-768x348.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">How to configure the Prestashop Restrict Shop Access module<\/h3>\n\n\n\n<p>In the configuration settings of the module, there are multiple options. Let&#8217;s understand each of them one by one.<\/p>\n\n\n\n<p><strong>Restriction Based On: <\/strong>Here, you can choose to restrict the access of product, whole shop or both. <\/p>\n\n\n\n<p>In case, if you select to restrict access to the whole shop or both, then your customer would not be able to see anything on the shop.<\/p>\n\n\n\n<p><strong>Hide Product on Shop: <\/strong>Enable this option to hide the restricted products from the shop.<\/p>\n\n\n\n<p><strong>Get country on the basis of:<\/strong> Choose whether you want to fetch the country of a customer on the basis of the delivery address or IP address.<\/p>\n\n\n\n<p><strong>Restrict Start\/End Date:<\/strong> In these fields, you can set date and time range for which you want to restrict the customer access.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"789\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/1-7-1200x789.png\" alt=\"1-7\" class=\"wp-image-391002\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/1-7-1200x789.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/1-7-300x197.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/1-7-250x164.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/1-7-768x505.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/1-7.png 1294w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>If&nbsp;Hide Product on Shop&nbsp;is disabled, you\u2019ll further get three settings:<\/p>\n\n\n\n<p><strong>Show Product Details Page:<\/strong>&nbsp;Enable to show the product details page of restricted products with a message. <\/p>\n\n\n\n<p>In case, if it\u2019s disabled then the product details page will not open on clicking the product tile on the home page.<\/p>\n\n\n\n<p><strong>Product Restriction Message:&nbsp;<\/strong>Customise the message that you want to show on the product tiles or product details page of blocked products.<\/p>\n\n\n\n<p><strong>Allow user to send request for shop access or product access:<\/strong> If this field is enabled, then user can send request for accessing shop or product.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1104\" height=\"489\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/3-4.png\" alt=\"3-4\" class=\"wp-image-391014\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/3-4.png 1104w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/3-4-300x133.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/3-4-250x111.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/3-4-768x340.png 768w\" sizes=\"(max-width: 1104px) 100vw, 1104px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Restrict access to the whole shop<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1047\" height=\"1024\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/4-3-1047x1024.png\" alt=\"4-3\" class=\"wp-image-391019\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/4-3-1047x1024.png 1047w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/4-3-300x293.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/4-3-250x245.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/4-3-768x751.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/4-3.png 1233w\" sizes=\"(max-width: 1047px) 100vw, 1047px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>If group-wise restriction is on&nbsp;then shop-wise restriction will work for those end-users who has restricted groups.<\/strong><\/p>\n\n\n\n<p>Let\u2019s see what happens when \u201cRestrict Specific Pages\u201d setting is ON.<\/p>\n\n\n\n<p>On enabling this, you will get further options to restrict category pages, CMS pages and Product listing pages. Also, you can set the URL where you want to redirect a user after page restriction.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"967\" height=\"374\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/5-4.png\" alt=\"5-4\" class=\"wp-image-391029\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/5-4.png 967w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/5-4-300x116.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/5-4-250x97.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/5-4-768x297.png 768w\" sizes=\"(max-width: 967px) 100vw, 967px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>Restrict Category Pages: ON<\/strong><\/p>\n\n\n\n<p>Select the categories you want to restrict.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"675\" height=\"430\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-115.png\" alt=\"image-115\" class=\"wp-image-391032\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-115.png 675w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-115-300x191.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-115-250x159.png 250w\" sizes=\"(max-width: 675px) 100vw, 675px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>Note: If you have enabled category restriction then Home Category cannot be restricted.<\/strong><\/p>\n\n\n\n<p><strong>Restrict CMS Pages: ON<\/strong><\/p>\n\n\n\n<p>Choose the CMS pages that you want to restrict.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"966\" height=\"326\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/6-2.png\" alt=\"6-2\" class=\"wp-image-391041\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/6-2.png 966w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/6-2-300x101.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/6-2-250x84.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/6-2-768x259.png 768w\" sizes=\"(max-width: 966px) 100vw, 966px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>Restrict Product Listing Pages: ON<\/strong><\/p>\n\n\n\n<p>Choose the Product Listing pages that you want to restrict.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1005\" height=\"359\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/7-1.png\" alt=\"7-1\" class=\"wp-image-391044\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/7-1.png 1005w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/7-1-300x107.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/7-1-250x89.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/7-1-768x274.png 768w\" sizes=\"(max-width: 1005px) 100vw, 1005px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Restrict Access to Both (Product wise and Shop)<\/h4>\n\n\n\n<p>All the option will be available in case of Both.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"750\" height=\"1024\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/8-1-750x1024.png\" alt=\"8-1\" class=\"wp-image-391095\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/8-1-750x1024.png 750w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/8-1-220x300.png 220w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/8-1-182x249.png 182w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/8-1-768x1048.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/8-1-1126x1536.png 1126w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/8-1.png 1232w\" sizes=\"(max-width: 750px) 100vw, 750px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Add Block List<\/h3>\n<\/div><\/div>\n\n\n\n<p>After successful installation of the module, five new tabs gets available in the back office.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"597\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/9-1-1200x597.png\" alt=\"9-1\" class=\"wp-image-391103\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/9-1-1200x597.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/9-1-300x149.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/9-1-250x124.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/9-1-768x382.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/9-1.png 1278w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Block by Customer Groups<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1075\" height=\"387\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/12-2.png\" alt=\"12-2\" class=\"wp-image-391120\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/12-2.png 1075w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/12-2-300x108.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/12-2-250x90.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/12-2-768x276.png 768w\" sizes=\"(max-width: 1075px) 100vw, 1075px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Click on the &#8220;Add new&#8221; button to add restrict for customer groups.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"943\" height=\"1024\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/13-2-943x1024.png\" alt=\"13-2\" class=\"wp-image-391128\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/13-2-943x1024.png 943w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/13-2-276x300.png 276w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/13-2-229x249.png 229w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/13-2-768x834.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/13-2.png 1074w\" sizes=\"(max-width: 943px) 100vw, 943px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>After adding the restriction, you can view it under Block Customer Groups.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1077\" height=\"338\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/14-2.png\" alt=\"14-2\" class=\"wp-image-391146\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/14-2.png 1077w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/14-2-300x94.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/14-2-250x78.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/14-2-768x241.png 768w\" sizes=\"(max-width: 1077px) 100vw, 1077px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Kindly note that the priority set for restriction (in the above screenshot) will be higher than that of global configuration.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Block by User Agent<\/h4>\n\n\n\n<p>Here, the user agent simply refers to the browser which the customer is using to access the shop. <\/p>\n\n\n\n<p>Now, this module also allows you to simply restrict the users using some particular browsers by adding them here.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1077\" height=\"361\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/11-3.png\" alt=\"11-3\" class=\"wp-image-391118\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/11-3.png 1077w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/11-3-300x101.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/11-3-250x84.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/11-3-768x257.png 768w\" sizes=\"(max-width: 1077px) 100vw, 1077px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>After adding the user agents, you can see all of them in a list too.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"438\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/15-1-1200x438.png\" alt=\"15-1\" class=\"wp-image-391151\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/15-1-1200x438.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/15-1-300x110.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/15-1-250x91.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/15-1-768x280.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/15-1.png 1238w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Block by Country<\/h4>\n\n\n\n<p>The next option is to restrict the access of the shop on the basis of the user&#8217;s country. For that, you can simply select all the countries whose users you want to restrict from accessing the shop. <\/p>\n\n\n\n<p>While restricting the users on the basis of country, one of the options of configuration also works. <\/p>\n\n\n\n<p>The option where you choose to get the users country on the basis of either address or delivery address.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1079\" height=\"456\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/16-1.png\" alt=\"16-1\" class=\"wp-image-391153\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/16-1.png 1079w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/16-1-300x127.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/16-1-250x106.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/16-1-768x325.png 768w\" sizes=\"(max-width: 1079px) 100vw, 1079px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Block by IP Address<\/h4>\n\n\n\n<p>You can also add some IP addresses for which you want to restrict the access of the shop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1057\" height=\"473\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/17-1.png\" alt=\"17-1\" class=\"wp-image-391155\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/17-1.png 1057w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/17-1-300x134.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/17-1-250x112.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/17-1-768x344.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/17-1-604x270.png 604w\" sizes=\"(max-width: 1057px) 100vw, 1057px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>The following screenshot shows the&nbsp;<strong>Shop restriction message in the popup<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1142\" height=\"614\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/1-19.png\" alt=\"1-19\" class=\"wp-image-424373\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/1-19.png 1142w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/1-19-300x161.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/1-19-250x134.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/1-19-768x413.png 768w\" sizes=\"(max-width: 1142px) 100vw, 1142px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Customer Requests<\/h4>\n\n\n\n<p>Under the Customer Requests tab, the admin can see the request sent by the customers for accessing a particular product or whole shop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1077\" height=\"395\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/18-1.png\" alt=\"18-1\" class=\"wp-image-391158\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/18-1.png 1077w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/18-1-300x110.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/18-1-250x92.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/18-1-768x282.png 768w\" sizes=\"(max-width: 1077px) 100vw, 1077px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Customer sending a Shop request to the admin<\/strong><\/h4>\n\n\n\n<p>Consider the admin have blocked the access to the shop. Now, the customer can send a request for shop access from the front end.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1135\" height=\"620\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/2-19.png\" alt=\"2-19\" class=\"wp-image-424374\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/2-19.png 1135w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/2-19-300x164.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/2-19-250x137.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/2-19-768x420.png 768w\" sizes=\"(max-width: 1135px) 100vw, 1135px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>On clicking the save button, the request is sent to the admin.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1076\" height=\"271\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/20-1.png\" alt=\"20-1\" class=\"wp-image-391188\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/20-1.png 1076w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/20-1-300x76.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/20-1-250x63.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/20-1-768x193.png 768w\" sizes=\"(max-width: 1076px) 100vw, 1076px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Till that time, the customer will see message that his request is sent to admin for approval.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"912\" height=\"270\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-126.png\" alt=\"image-126\" class=\"wp-image-391190\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-126.png 912w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-126-300x89.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-126-250x74.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/image-126-768x227.png 768w\" sizes=\"(max-width: 912px) 100vw, 912px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Similarly, the customer can also send a request for accessing the product if it has been blocked.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1137\" height=\"624\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/21-1.png\" alt=\"21-1\" class=\"wp-image-391225\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/21-1.png 1137w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/21-1-300x165.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/21-1-250x137.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/21-1-768x421.png 768w\" sizes=\"(max-width: 1137px) 100vw, 1137px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>On clicking &#8220;Request for product&#8221; button, a popup appears on the page where a customer needs to specify email id, mobile number, and description to submit the request.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1124\" height=\"581\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/3-15.png\" alt=\"3-15\" class=\"wp-image-424376\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/3-15.png 1124w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/3-15-300x155.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/3-15-250x129.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/3-15-768x397.png 768w\" sizes=\"(max-width: 1124px) 100vw, 1124px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1150\" height=\"616\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/24-1.png\" alt=\"24-1\" class=\"wp-image-391271\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/24-1.png 1150w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/24-1-300x161.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/24-1-250x134.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/24-1-768x411.png 768w\" sizes=\"(max-width: 1150px) 100vw, 1150px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>On clicking the save button, the request will be sent to the admin in the back office.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1075\" height=\"339\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/25-1.png\" alt=\"25-1\" class=\"wp-image-391272\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/25-1.png 1075w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/25-1-300x95.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/25-1-250x79.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/25-1-768x242.png 768w\" sizes=\"(max-width: 1075px) 100vw, 1075px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>Give product\/shop access to customer<\/strong><\/p>\n\n\n\n<p>On clicking &#8220;Allow a customer&#8221; button, a form appears on the page where you need to select a customer and restriction type as product or shop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1082\" height=\"367\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/26-1.png\" alt=\"26-1\" class=\"wp-image-391279\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/26-1.png 1082w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/26-1-300x102.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/26-1-250x85.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/26-1-768x260.png 768w\" sizes=\"(max-width: 1082px) 100vw, 1082px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"940\" height=\"508\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/27-1.png\" alt=\"27-1\" class=\"wp-image-391283\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/27-1.png 940w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/27-1-300x162.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/27-1-250x135.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/27-1-768x415.png 768w\" sizes=\"(max-width: 940px) 100vw, 940px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>On clicking the save button, the access of the selected product will be given to the selected customer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1062\" height=\"563\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/28-1.png\" alt=\"28-1\" class=\"wp-image-391285\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/28-1.png 1062w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/28-1-300x159.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/28-1-250x133.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/28-1-768x407.png 768w\" sizes=\"(max-width: 1062px) 100vw, 1062px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Process to block the product<\/h3>\n<\/div><\/div>\n\n\n\n<p>In order to configure the block settings for individual products, go to catalog-&gt;products-&gt;select product-&gt;modules.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"700\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/29-1-1200x700.png\" alt=\"29-1\" class=\"wp-image-391293\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/29-1-1200x700.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/29-1-300x175.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/29-1-250x146.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/29-1-768x448.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/29-1.png 1238w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"385\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/30-1-1200x385.png\" alt=\"30-1\" class=\"wp-image-391295\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/30-1-1200x385.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/30-1-300x96.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/30-1-250x80.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/30-1-768x246.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/30-1.png 1238w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If disabled, then the product will be available for every country and IP address.<\/li>\n\n\n\n<li>If enabled, then the admin can select the country or specify the IP address for which the product will not be available.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"942\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/31-1-1200x942.png\" alt=\"31-1\" class=\"wp-image-391305\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/31-1-1200x942.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/31-1-300x235.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/31-1-250x196.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/31-1-768x603.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/31-1.png 1235w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Show\/Hide Product on Shop<\/h4>\n\n\n\n<p><strong>When a<\/strong> <strong>User is Logged in<\/strong><\/p>\n\n\n\n<p>The first case is when an admin tries to hide the blocked products from the shop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"454\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/32-1-1200x454.png\" alt=\"32-1\" class=\"wp-image-391308\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/32-1-1200x454.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/32-1-300x114.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/32-1-250x95.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/32-1-768x291.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/32-1.png 1220w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In such a case, a customer from one of the blocked countries cannot view the products on the shop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"994\" height=\"1024\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/33-1-994x1024.png\" alt=\"33-1\" class=\"wp-image-391312\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/33-1-994x1024.png 994w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/33-1-291x300.png 291w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/33-1-242x249.png 242w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/33-1-768x791.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/33-1.png 1150w\" sizes=\"(max-width: 994px) 100vw, 994px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Suppose the product details page is hidden and the product is visible.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1061\" height=\"592\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/34.png\" alt=\"34\" class=\"wp-image-391313\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/34.png 1061w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/34-300x167.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/34-250x139.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/34-768x429.png 768w\" sizes=\"(max-width: 1061px) 100vw, 1061px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In this case, a customer from one of the blocked countries cannot view the product. This is because the admin is not allowing to view the product page from the configuration settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"905\" height=\"1024\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/35-1-905x1024.png\" alt=\"35-1\" class=\"wp-image-391314\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/35-1-905x1024.png 905w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/35-1-265x300.png 265w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/35-1-220x249.png 220w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/35-1-768x869.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/35-1-1358x1536.png 1358w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/35-1-1811x2048.png 1811w\" sizes=\"(max-width: 905px) 100vw, 905px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>On clicking the product to view the product detail page the customer gets redirected to the home page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1109\" height=\"814\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/37-1.png\" alt=\"37-1\" class=\"wp-image-391319\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/37-1.png 1109w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/37-1-300x220.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/37-1-250x183.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/37-1-768x564.png 768w\" sizes=\"(max-width: 1109px) 100vw, 1109px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Now, let&#8217;s see another case when the product along with the product details page is visible. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"557\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/38-1-1200x557.png\" alt=\"38-1\" class=\"wp-image-391320\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/38-1-1200x557.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/38-1-300x139.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/38-1-250x116.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/38-1-768x356.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/38-1.png 1222w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In such a case, a configured message will display on the product details page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1086\" height=\"631\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/39-1.png\" alt=\"39-1\" class=\"wp-image-391337\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/39-1.png 1086w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/39-1-300x174.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/39-1-250x145.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/39-1-768x446.png 768w\" sizes=\"(max-width: 1086px) 100vw, 1086px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p id=\"block-9f40dab6-7162-4496-bb92-8855e36e9b8b\"><strong>When User is not Logged in<\/strong><\/p>\n\n\n\n<p>In the configuration settings, we&#8217;ve selected to fetch the country of the customer by the delivery address. <\/p>\n\n\n\n<p>As we know the user is not logged in, hence getting country by the delivery address would not be possible here because we don&#8217;t have any address of the user yet.<\/p>\n\n\n\n<p>So, in such cases, when no address is available then we get the country of the user by IP address. <\/p>\n\n\n\n<p>Now, after tracking the country by IP, the module will block the product if that product is blocked from the country fetched by IP address.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"562\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/40-1-1200x562.png\" alt=\"40-1\" class=\"wp-image-391338\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/40-1-1200x562.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/40-1-300x141.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/40-1-250x117.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/40-1-768x360.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/40-1.png 1217w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Block the product using an IP address<\/h3>\n<\/div><\/div>\n\n\n\n<p>Now, suppose you are deciding to block both i.e., products &amp; the shop. And, you have also selected to get the country by IP address of the user.<\/p>\n\n\n\n<p><strong>Note:<\/strong><\/p>\n\n\n\n<p>On selecting the IP address in &#8220;Get country on the basis of&#8221; field, you will see a message. As per the new modification, now you need to download the geolocation data file from the MaxMind website.<\/p>\n\n\n\n<p>In order to download the geolocation data file, you need to register on the <a href=\"https:\/\/dev.maxmind.com\/geoip\/geolite2-free-geolocation-data\" target=\"_blank\" rel=\"noreferrer noopener\">MaxMind<\/a> website first. After creating the account, you will be able to download the &#8220;GeoLite2City&#8221; file from the website.<\/p>\n\n\n\n<p>Upon successful download of the file, proceed to extract the file in the given below directories.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In<strong> Prestashop 1.7\/8<\/strong>\/<strong>9<\/strong>, you need to extract it into app\/Resources\/GeoIP\/ directory.<\/li>\n\n\n\n<li>Whereas, In <strong>Prestashop 1.6<\/strong>, you need to extract it into module folder\/views\/lib\/vendor\/resource.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"926\" height=\"1024\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/41-926x1024.png\" alt=\"41\" class=\"wp-image-391339\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/41-926x1024.png 926w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/41-271x300.png 271w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/41-225x249.png 225w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/41-768x849.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/07\/41.png 1235w\" sizes=\"(max-width: 926px) 100vw, 926px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In case of blocking by IP address, all the options will work in the same way. However, the country to block the product will be fetched by an IP address only.<\/p>\n\n\n\n<p>Now, the address will be checked by IP &amp; if the country fetched by IP is added to the block list. Then, whether it&#8217;s a product or shop, it&#8217;ll be blocked accordingly.<\/p>\n\n\n\n<p>So, this was all about Prestashop Restrict Shop Access Module. I hope this document will help you in checking the functionality of the module in a better way. <\/p>\n\n\n\n<p>Also, do let us know about your views in the comments.<\/p>\n\n\n\n<p>In case, if you are also looking for the same functionality for your marketplace sellers, then do checkout the <a href=\"https:\/\/webkul.com\/blog\/prestashop-marketplace-block-product\/\" target=\"_blank\" rel=\"noreferrer noopener\">blog<\/a>.<\/p>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Support<\/h3>\n<\/div><\/div>\n\n\n\n<p id=\"block-49f48f19-599f-4714-96d5-36f53da1d421\">For any kind of technical assistance or query, please&nbsp;<a href=\"https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/\">raise a ticket<\/a>&nbsp;or send us a mail at&nbsp;<strong>support@webkul.com<\/strong><\/p>\n\n\n\n<p>Also, please explore our <a href=\"https:\/\/webkul.com\/prestashop-development\/\">Prestashop development services<\/a> and vast range of quality <a href=\"https:\/\/store.webkul.com\/PrestaShop-Extensions.html\">Prestashop addons<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The widespread business of eCommerce all over the world is also making it more vulnerable &amp; prone to cyber threats with each passing day. Although, there are various available options to prevent such attempts. However, we all know that it&#8217;s better to keep the matchsticks out of the house than to keep the fire extinguisher <a href=\"https:\/\/webkul.com\/blog\/prestashop-block-product\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":57,"featured_media":48119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209],"tags":[3053,3049,3051,3052,2065,3054,3050,7436],"class_list":["post-47983","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-prestashop","tag-block-by-ip-address","tag-block-product","tag-geo-ip","tag-geo-ip-block","tag-prestashop","tag-prestashop-block-ip-address","tag-prestashop-block-product","tag-restrict-user-group"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Prestashop Restrict Shop Access by Country, IP and User-Agent<\/title>\n<meta name=\"description\" content=\"Prestashop Restrict Shop Access helps admin to restrict the access of shop or products based on user-agent, IP, and country\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/prestashop-block-product\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Prestashop Restrict Shop Access by Country, IP and User-Agent\" \/>\n<meta property=\"og:description\" content=\"Prestashop Restrict Shop Access helps admin to restrict the access of shop or products based on user-agent, IP, and country\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/prestashop-block-product\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-05T10:53:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-15T11:58:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/05\/Block-Product-Module-Banner.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Priyanka Srivastava\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Priyanka Srivastava\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/\"},\"author\":{\"name\":\"Priyanka Srivastava\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/97c38b9707755121f941f40dc8bed2e9\"},\"headline\":\"Prestashop Restrict Shop Access by Country, IP and User-Agent \u00a0{User-Guide}\",\"datePublished\":\"2016-05-05T10:53:58+00:00\",\"dateModified\":\"2025-10-15T11:58:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/\"},\"wordCount\":1981,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/05\/Block-Product-Module-Banner.png\",\"keywords\":[\"Block by IP address\",\"block product\",\"Geo Ip\",\"Geo IP block\",\"prestashop\",\"Prestashop block IP address\",\"prestashop block product\",\"Restrict user group\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/prestashop-block-product\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/\",\"url\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/\",\"name\":\"Prestashop Restrict Shop Access by Country, IP and User-Agent\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/05\/Block-Product-Module-Banner.png\",\"datePublished\":\"2016-05-05T10:53:58+00:00\",\"dateModified\":\"2025-10-15T11:58:09+00:00\",\"description\":\"Prestashop Restrict Shop Access helps admin to restrict the access of shop or products based on user-agent, IP, and country\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/prestashop-block-product\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/05\/Block-Product-Module-Banner.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/05\/Block-Product-Module-Banner.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/prestashop-block-product\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prestashop Restrict Shop Access by Country, IP and User-Agent \u00a0{User-Guide}\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/97c38b9707755121f941f40dc8bed2e9\",\"name\":\"Priyanka Srivastava\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/79a4cb97cb84cc25f516330476e185c531f871539eb1d837dd447cd099e31db7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/79a4cb97cb84cc25f516330476e185c531f871539eb1d837dd447cd099e31db7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Priyanka Srivastava\"},\"sameAs\":[\"https:\/\/webkul.com\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/priyanka-srivastava394\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Prestashop Restrict Shop Access by Country, IP and User-Agent","description":"Prestashop Restrict Shop Access helps admin to restrict the access of shop or products based on user-agent, IP, and country","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/prestashop-block-product\/","og_locale":"en_US","og_type":"article","og_title":"Prestashop Restrict Shop Access by Country, IP and User-Agent","og_description":"Prestashop Restrict Shop Access helps admin to restrict the access of shop or products based on user-agent, IP, and country","og_url":"https:\/\/webkul.com\/blog\/prestashop-block-product\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-05-05T10:53:58+00:00","article_modified_time":"2025-10-15T11:58:09+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/05\/Block-Product-Module-Banner.png","type":"image\/png"}],"author":"Priyanka Srivastava","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Priyanka Srivastava","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/prestashop-block-product\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/prestashop-block-product\/"},"author":{"name":"Priyanka Srivastava","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/97c38b9707755121f941f40dc8bed2e9"},"headline":"Prestashop Restrict Shop Access by Country, IP and User-Agent \u00a0{User-Guide}","datePublished":"2016-05-05T10:53:58+00:00","dateModified":"2025-10-15T11:58:09+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/prestashop-block-product\/"},"wordCount":1981,"commentCount":4,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/prestashop-block-product\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/05\/Block-Product-Module-Banner.png","keywords":["Block by IP address","block product","Geo Ip","Geo IP block","prestashop","Prestashop block IP address","prestashop block product","Restrict user group"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/prestashop-block-product\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/prestashop-block-product\/","url":"https:\/\/webkul.com\/blog\/prestashop-block-product\/","name":"Prestashop Restrict Shop Access by Country, IP and User-Agent","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/prestashop-block-product\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/prestashop-block-product\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/05\/Block-Product-Module-Banner.png","datePublished":"2016-05-05T10:53:58+00:00","dateModified":"2025-10-15T11:58:09+00:00","description":"Prestashop Restrict Shop Access helps admin to restrict the access of shop or products based on user-agent, IP, and country","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/prestashop-block-product\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/prestashop-block-product\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/prestashop-block-product\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/05\/Block-Product-Module-Banner.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/05\/Block-Product-Module-Banner.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/prestashop-block-product\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Prestashop Restrict Shop Access by Country, IP and User-Agent \u00a0{User-Guide}"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/97c38b9707755121f941f40dc8bed2e9","name":"Priyanka Srivastava","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/79a4cb97cb84cc25f516330476e185c531f871539eb1d837dd447cd099e31db7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/79a4cb97cb84cc25f516330476e185c531f871539eb1d837dd447cd099e31db7?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Priyanka Srivastava"},"sameAs":["https:\/\/webkul.com"],"url":"https:\/\/webkul.com\/blog\/author\/priyanka-srivastava394\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/47983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/57"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=47983"}],"version-history":[{"count":66,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/47983\/revisions"}],"predecessor-version":[{"id":510097,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/47983\/revisions\/510097"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/48119"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=47983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=47983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=47983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}