Region/State selection
-
Hello,
Thank you for the plugin it works well, I have noted however the returned regions often don’t map to the available options. Im in NZ, so WooCommerce has values like OT for Otago, BP for Bay Of Plenty etc. Google has responded with Both OTA = Otago and Bay of Plenty for these same fields.
It would be great if when the target field was a dropdown it could check the text value on a lowercase match to help set values correctly.
<option value=’OT’>Otago</option>
<option value=’BP’>Bay of Plenty</option>And because I there are quite a few combinations that can’t easily be matched, such as OTA, OT, Otago a hook in the JS would be nice so we could return a match on a value – perhaps the passed value comes in and returns the Custom match.
function CustomHook(e){
// customize data results for non-uniform Google data.
return “custom ” + e;
}var fn = window[“CustomHook”];
value = fn(“Otago”);I’ve added these into my current site, however updates will wipe the changes out.
Thank you
- The topic ‘Region/State selection’ is closed to new replies.