Results and ZIP codes

10 years 8 months ago #1852 by dontstop99
Results and ZIP codes was created by dontstop99
I have configured the locator component for a firm in Australia for an IT buddy of mine. I have seen a few random issues I would like to discuss and see what folks think

1) Google Suggestion box

When I type in a generic search like SYDNEY, I am getting a list of two sydneys. I am assuming this is due to sydney being a place and a city. Either choice brings up the same results. Any way of stopping this?

2) Australia zip codes did not work.. at all (eg 3141).. I have had to write a bit of code in the template override default_js.php
function isNumeric(n) {
	  return !isNaN(parseFloat(n)) && isFinite(n);
	}
 
  function searchLocations() 
  {
   	 if(fix_jquery)
            jQuery.noConflict();
 
     var address = $('addressInput').value;
	 if(isNumeric(address)) { 
 
	 	var address = 'AU ' + address;
 
	 }	 

basically if someone enters JUST a 4 digit australian postcode it silently adds AU to the beginning and this works. I have tried the 4 digit code on google maps and it has no issues. I am assured by the Australian clients that whereas in addresses the post code may be written as NSW 3141, the 4 digit number should be enough

Any reason for this? I have set AUSTRALIA as the base country, but this makes no apparent difference.

Please Log in to join the conversation.

More
10 years 8 months ago #1854 by sysgenmedia
Replied by sysgenmedia on topic Results and ZIP codes
This is a common Google issue, seemingly with Australia.. Your attempt to correct it was almost correct. The best bit of advice we reccomend is, regardless of the search, tack ", Australia" to the end. Rather then AU at the beginning.

This serves Australia customers well. See our FAQ for the exact implementation. Also, once this has been done, disable Google Suggest from the options.

Please Log in to join the conversation.

More
10 years 7 months ago #1900 by marinaided
Replied by marinaided on topic Results and ZIP codes
Hi Sysgen Team,

Store locator component is very good.

I have same problem show result using search by Australia zip code.Input value : 4802 like this

You have mentioned in Faq page. i have done but still am getting No result.

Can you check pls ?

dodo9336.staging-cloud.netregistry.net/index.php/stores

If u want i will send you admin details to your PM

Advance thank you

Please Log in to join the conversation.

More
10 years 7 months ago - 10 years 7 months ago #1901 by sysgenmedia
Replied by sysgenmedia on topic Results and ZIP codes
Hi!

I believe your issue is that the default radius is too low (i.e. 5km). Try increasing the radius, and it seems to work.

This is due to the fact that we perform a search from the geographical center of the given search query. If you search a postal code, it will search form the center of that region. If the region is larger then 5 km, it wont show your results.
Last edit: 10 years 7 months ago by sysgenmedia. Reason: Spelling...

Please Log in to join the conversation.

More
10 years 7 months ago #1902 by marinaided
Replied by marinaided on topic Results and ZIP codes
Hi !

Thank you for fast response. I will try and let u know

Please Log in to join the conversation.

More