• Resolved goferdev

    (@goferdev)


    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?

Viewing 1 replies (of 1 total)
  • Thread Starter goferdev

    (@goferdev)

    I found a working solution where I simply set the city/state fields to a default value then keep them hidden, using a checkout editor and my theme’s additional css fields.

Viewing 1 replies (of 1 total)
  • The topic ‘Set default destination parameters’ is closed to new replies.