Viewing 6 replies - 1 through 6 (of 6 total)
  • i am also experiencing this issue

    Please can the plugin be adapted so that cities can be used as shipping zone?

    thank you

    Plugin Author Yordan Soares

    (@yordansoares)

    Hello @oursiter and @libertyking2,

    The plugin currently only allows you to add the States in the shipping zones, because the structure of WooCommerce doesn’t allow to include the cities using the built-in filter. The Cities (or places) are only available in checkout pages, edit addresses pages, and shipping calculator.

    There are some plugins that allows you to set up advanced shipping zones using the “city” field as a filter condition. I tried WooCommerce Advanced Shipping (a premium plugin), which allows to create this kind of conditions, but you have to add the cities manually one by one. Maybe there are some other plugins in the www.ads-software.com Plugin directory, a search might help.

    Best regards,
    Yordan.

    Hi @yordansoares,

    Regarding the limitation of woocommerce in the shipping zone, is it possible to add a extra functionality to the plugin?

    • Add the zip code of the city as a “key” in the places array
    • put that “key” in a custom attribute in the options of the city field
    • when a city is selected, fill the zip code field automatically via javascript
    • the zip code field can be hidden to prevent it from being edited by the user.

    Thanks a lot, this plugin is great!

    Plugin Author Yordan Soares

    (@yordansoares)

    Hello @oscatron,

    Thanks for your comments. Unfortunately there are a lot of countries that doesn’t use Postal code and other that use several postal codes for each city, so this approach is not viable.

    The good news is that from version 1.3 you have filter hooks to manage country subdivisions in a personalized way. Please read the article Using the filter hooks to learn How to use.

    Best regards,
    Yordan.

    Thanks for your answer!

    Hi, I’ve installed this plugin hoping it would be a solution to the WC Shipping Zone lack of options to add specific areas since my country doesn’t use ZIP Codes. I’m impressed on how good the list for my country is but is sad that I have no use for it since I can’t use it to create specific shipping zones. It only gives the option to select main cities.

    I’ve had to use a code to create the options for all cities but is not friendly, and since I’m not a programmer is easy to make mistakes and breake the code ??

    The code can be found here. Hopefully it helps or gives someone the idea for a workaround.

    Best regards,
    Miguel.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘how to create shipping zones?’ is closed to new replies.