WooCommerce Shipping Methods by Cities

WooCommerce Shipping Methods by Cities

Set cities to include/exclude for WooCommerce shipping methods to show up

Description

WooCommerce Shipping Methods by Cities module allows you to set cities (include/exclude) for WooCommerce shipping methods to show up.

General Options

Use Shipping Instances
Enable this if you want to use shipping methods instances instead of shipping methods. Save changes after enabling this option.
Default: no

Shipping Methods by Cities

WooCommerce Shipping Methods by Cities - Admin Settings - Shipping Method Settings

Method X – Include Cities
Leave empty to disable. Otherwise enter cities one per line.
Default: None
Method X – Exclude Cities
Leave empty to disable. Otherwise enter cities one per line.
Default: None

Advanced Options

Filter Priority
Set to zero to use the default priority.
Default: 0
Accessible through:
  • WooCommerce > Settings > Booster > Shipping & Orders > Shipping Methods by Cities
Tested on WooCommerce 3.8.1 and WordPress 5.3
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply

Comments

16 Comments

  1. Hassan November 24, 2019 at 6:16 pm #

    Hi, I’m using the premium version. I don’t understand how this feature works, WooCommerce uses states and post codes to identify shipping methods and instances. I have tried to include and exclude city names but it still doesn’t matter WooCommerce looks at state and post code. Or am i doing something wrong?

    Reply to thread

    Avatar
    • RokasJ December 1, 2019 at 6:50 pm #

      Hi Hassan,

      This plugin works independently of Woocommerce’s shipping zones. That is, on the checkout page where all (available) shipping methods are shown and a customer enters a city to the City address input field, Booster checks if it is in some shipping method’s Included or Excluded cities list and if it is either shows this shipping method or hides it according to your settings.

      Best regards,
      Rokas – Support Team

      Avatar
  2. Oscar Morales October 30, 2019 at 12:40 am #

    Hi, I just bought the plugin but no city appears as available on any shipping method by city.

    Reply to thread

    Avatar
    • RokasJ October 30, 2019 at 6:14 pm #

      Hi Oscar,

      Could you clarify what you mean and what your current settings are? Do you mean that if you add any city to included or excluded cities list, no cities work in the checkout?

      Best regards,
      Rokas – Support Team

      Avatar
    • Oscar Morales October 30, 2019 at 6:49 pm #

      Yes, I have set up the plugin, enable the shipping methods by city module and section, added the city I needed to the Free Shipping field (included cities field – Calgary) and even enabled the debug mode talked before in Woocommerce > Settings > Shipping. When I enter the mentioned city in the Checkout, the shipping is calculated by the other rules applied before (I have in priority one for Province and another one for the rest of the Country).

      Avatar
    • RokasJ November 10, 2019 at 12:56 pm #

      Hi Oscar,

      That is very interesting. Could you contact us directly via email support@boooster.io?

      Best regards,
      Rokas – Support Team

      Avatar
  3. Walter October 22, 2019 at 2:58 pm #

    Hello
    Why not make a user select dropdown for this?
    If the user mistype a letter it won’t work…

    Reply to thread

    Avatar
    • RokasJ October 22, 2019 at 5:06 pm #

      Hi Walter,

      That’s an interesting idea. We have added it to our todo list.

      Best regards,
      Rokas – Support Team

      Avatar
  4. patrick October 13, 2019 at 11:17 am #

    hi can it be possible for installation where by each city to have its shipping method and a rate for instance
    {Nairobi flat rate shipping is $2)

    Reply to thread

    Avatar
    • RokasJ October 13, 2019 at 6:13 pm #

      Hi Patrick,

      You could create X shipping methods where X is the number of cities supported and then allow each for one city only.

      Best regards,
      Rokas – Support Team

      Avatar
  5. Enrique Murillo August 13, 2019 at 5:08 pm #

    Hello, i have the free version of booster for woocommerce, and the local pickup shipping method doesnt get recognize when i write a city that match, only flat rate is recognized as a shipping method

    Reply to thread

    Avatar
    • RokasJ August 18, 2019 at 5:52 pm #

      Hi Enrique,

      Could you contact us at support@booster.io?

      Best regards,
      Rokas – Support Team

      Avatar
  6. mer ref September 9, 2018 at 6:41 am #

    Great module
    the only issue (main) is that the customer need to retype his address again for the plugin to work
    situation returning customer that his address already saved he can not see the shipping method by his city he will see the others methods
    tested on 2 different themes

    Reply to thread

    Avatar
    • Booster Support Team September 11, 2018 at 4:58 pm #

      Hi,

      Thanks.

      I’ve checked and you are correct. The problem is that WooCommerce stores shipping rates in session to avoid recalculation. This should be solved by enabling “Debug mode” in “WooCommerce > Settings > Shipping > Shipping options”. The only problem is that it also enables “matching shipping zones” notice on checkout… Not sure if this will be good enough for you.. Please let me know what you think.

      Booster Support Team
  7. Aikanysh July 12, 2018 at 12:58 pm #

    I could not install this feature on my website.

    Reply to thread

    Avatar
    • RokasJ July 12, 2018 at 5:46 pm #

      Hi,

      Can you contact us at support@booster.io with more information on what is not working, any error messages etc? Thanks.

      Best regards,
      Rokas – Support Team

      Avatar