Support » Plugin: WooCommerce » Calculate shipping cost by city

  • Resolved samisraeli



    I would like to calculate shipping cost by city.
    We ship it only domestic.
    Each city has different fee.
    User select his destination city and the in the checkout page it calculates automatically the shipping cost.
    The customer doesn’t know the zip code.
    Is it possible to configure it on the shipping settings?
    city a > cost $10
    city b > cost $15
    city c > cost $20
    Thank you,


Viewing 4 replies - 1 through 4 (of 4 total)
  • Stef


    Are you saying the customer will never know their zip code? That’s pretty much a required element. Let me know if that’s what you meant to say.

    Either way you could possibly get away with using Table Rates.

    I have been using distance-rate-shipping plugin for similar purpose. It is backed by woocommerce.

    Good luck


    Plugin Support Hannah S.


    Automattic Happiness Engineer

    Within WooCommerce, the best way to manage this is to set the zipcodes per city. For example, if City A has zipcodes of 00000-10000, then you’d fill that into the shipping zone settings:

    Cities by zipcode
    Link to image:

    If you specifically need to link to the city as filled in by the customer at checkout, then you could try this plugin:

    @zhuzh1 mentioned Distance Rate Shipping, which would work you look at it as distance rather than specifically the city. If city A is 10 km away, city B 20 km, and city C 30 km, that would work well. Here’s more information on the plugin:

    I hope that helps you in the right direction!

    Plugin Support dougaitken


    Automattic Happiness Engineer

    Hi @samisraeli

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.


Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.