Set default destination parameters
-
I am using this plugin to create a variable local delivery rate for my business. My clients are typically tourists, so their billing information is no help to me. However, as they are all in this one town, I would like to avoid adding City, Country, or zip fields to the shipping section of checkout.
My issue is that some local addresses are not defaulting to my town when only the street name and address are inserted into the shipping fields, which is expected with google’s API’s. So, in order to ensure all entered addresses are specific to this locality without requiring clients to input that information, I was hoping to manually edit the plugin code to default the geocoding call to this town.
Is the function (where the geocoding call based on the checkout shipping address is made) available in the local files? If not, is there another way to accomplish this, or should I just add the city/state fields?
- The topic ‘Set default destination parameters’ is closed to new replies.