cancel
Showing results for 
Search instead for 
Did you mean: 

IP Wise blocking Country for a particular catagory.

SOLVED

IP Wise blocking Country for a particular catagory.

I want to block "Food" catagory for few particular country.

How to  do it?

If any one have any module or code please share it.

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: IP Wise blocking Country for a particular catagory.

@drsubhajit1551  

You can get country by IP using the below code:

https://dzone.com/articles/get-country-ip-address-php

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

View solution in original post

Re: IP Wise blocking Country for a particular catagory.

You can get  country by IP using the below code:

https://dzone.com/articles/get-country-ip-address-php

 

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

View solution in original post

2 REPLIES 2

Re: IP Wise blocking Country for a particular catagory.

@drsubhajit1551  

You can get country by IP using the below code:

https://dzone.com/articles/get-country-ip-address-php

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: IP Wise blocking Country for a particular catagory.

You can get  country by IP using the below code:

https://dzone.com/articles/get-country-ip-address-php

 

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.