Adding New Custom Flat Shipping Rates in WooCommerce 2.4+

Since WooCommerce 2.4, the flat shipping rates interface have been really improved and it’s now so simple that it can even be confusing for some users.

A common request is:

[blockquote]”how can I add new custom flat rates?”[/blockquote]

Because, that’s true, in previous versions you could do it via the interface, but now you need custom coding. So, to add new custom flat rates, simply add this snippet to functions.php in the theme folder:



You can learn more about all that in the official docs.

About the author

Remi Hey! My name is Rémi Corson, I'm a French WordPress Developer, I code stuff and I write from time to time ;-) Buy a coffee
Show your support

Related Posts


  1. sgriesel:

    very handy! thanks!

  2. joel:

    Hi Remi,

    Please help, How can add a title on every flat rate.

    Here in our country we have two Currier company XEND and LBC with different cost and number of days to deliver a products.

    This is the Example i want to have on my shipping options;

    Tittle : With in Metro Manila
    Option 1 : XEND : 60
    Option 2 : LBC : 120

    Tittle : Provincial Delivery
    Option 1 : XEND : 100
    Option 2 : LBC : 150

    Hope you can help me, I already ask some developer and they don’t have any solutions. I’m just a beginner on wordpress and little knowledge on php.

    Thank you very much!

  3. aslam4net:

    Hi Joel, I hope this woocommerce plugin Advance Flat Rate Shipping Method for WooCommerce will help you . The plugin will allow you to create multiple Flat Rate Shipping methods and will allow you to give labels.

    I hope this helps.

Leave a Reply