Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Redirect based on IP Address/Country - How do I?


mpiscopo

Recommended Posts

I would like to be able to keep my suppliers in China from viewing my catalog and viewing the prices we are charging for their products. I'd like to be able to either select an IP address range (I know some of the ranges they use), or check what country the IP subnet is registered to and execute an IF statement for my index and products pages. The IF would check the address and then bring up default page for the Chinese, otherwise it would exit to the normal catalog page.

 

Can someone help with what I would need to add. It should be pretty simple, except I'm not a programmer (although I have hacked enough code to get me into trouble).

 

Thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...