cantcloseaccount Posted January 16, 2015 Share Posted January 16, 2015 (edited) Hi All, Firstly Happy new year. I recently upgraded site www.metrocount.com/shop from 1.6.0.9 to 1.6.0.11 after paypal stopped supporting ssl3 payments stopped. I have reverted from a custom theme to the default-bootstrap theme(with modified Header and Footer), and am using Geolocation to show customers the Catalogue(without prices) when browsing from outside the enabled country (Australia). Prior to upgrade, this was working well and I tested it from US-UK and a bunch of other areas through proxy servers. Post upgrade, the Geolocation seems out of whack. When I access the store from UK, Ireland, or Netherlands I am still able to see prices (which shouldn't be visible). Yet through a proxy in France and Belgium the shop is in catalogue mode as it should be. I have updated the MaxMind geocitieslite.dat but that didn't make any difference. (Have cleared cache, force compiled) I noticed that the code in the header.tpl file has changed from: {if !$content_only} To: {if !isset($content_only) || !$content_only} Can anyone point me in the direction of what is causing the ip's not to be allocated to countries correctly? Would it like be theme related, version related or ip database related?. I have a separate shop that caters to USA and is redirected from /shop/ to /shopus/ using the following code in the header. This seems to also be incorrectly classifying IP locations and hasn't been updated to default-bootstrap theme which makes it seem less like a theme issue and more like an upgrade issue? {if $geolocation_country == "United States"} {header( 'Location: http://www.metrocount.com/shopus/' )}; {/if} Thanks for any assistance. Louis Edited January 16, 2015 by louisvs (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now