How do you customize product lines by country? For example, how do I hide products for customers in the US that are visible to customers in Canada?
How do you customize product lines by country? For example, how do I hide products for customers in the US that are visible to customers in Canada?
How good are you at programming?
This is possible, but not a simple tweak.
Yeah, I thought I might have to go in and do some coding. I was just hoping that there was a quick and easy solution that I hadn't noticed yet.
You'll have to start by sorting out who's in the US and who's in Canada, and for that the best technique is IP GeoLocation
There is a mySQL database of IP addresses here
Then you'll need some PHP to read that data, and say to your zencart shop...
"If IP address (address range) =XXX.XXX.XXX then products in category ID's 123 and 234 are available, else..."
The challenge will be writing php to render some products inactive for some IP addresses and not for others.
20 years a Zencart User
Another technique could be the following, and while it's a bit "clunky", it would work.
Install 2 sets of zencart in separate directories on your server:
www.mywebsite.com/usa (this houses only the US products)
www.mywebsite.com/canada (this houses only the Canada products)
then in the root directory, use IP GeoLocation to identify the visitor's IP address and then auto redirects to either the US shop or the Canada shop.
20 years a Zencart User
My client would like the customer to select their country upon entering the site, and then they will see products and prices that are specific to that chosen country, so there doesn't need to be any automation. I was just hoping to avoid having two different stores, which just makes all the edits later on twice as much work.