Notice: Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /home/d689c45/public_html/wp-includes/functions.php on line 6031
How to setup a dynamic woocommerce discount on shipping fees

In the same way that you can offer discounts on products price or on the cart subtotal, you can also offer woocommerce discount on shipping fees using the Woocommerce Dynamic Discount plugin.

WooCommerce offers many possibilities to define shipping fees. In general we have three shipping methods which are Flat rate , Local pickup, and Free shipping (read more about them by clicking on the links).

The Conditional Discounts for WooCommerce plugin allows you to apply discounts on shipping fees within the cart and this based on specific rules (which you can define in the discount settings).

Conditional Discounts for WooCommerce works with rules and product lists. So you can create dynamic discounts based on product lists and some rules. Click here to see how you can create product lists.

Many rules can be used to create discounts and some rules can be coupled to create advanced dynamic discounts like the woocommerce discount on shipping fees.

The screenshot below shows you the list of rules that can be defined :

 

The image below shows you how to offer a 3% off discount on cart subtotal if for example the customer buys more than $500 worth of t-shirts.

Now let’s see how to setup a woocommerce discount on shipping fees.

Let’s assume that the product list has been created and the shipping fees has already been defined. If you’re not sure how to do that, please check here.

The next step will consist in creating the discount.

To create a discount shipping fees using Conditional Discounts for WooCommerce follow these steps :

  1. Go to the WordPress Dashboard.
  2. Click on Discounts > New Discount menu to access the new discount page.
  3. After setting up the basic discount properties such as the start and end date, periodicity and user limit, set the rules relationship.
  4. Then click on the Add rules group button to create a new rules set (this step can also be ignored if you want to apply the discount to everyone without rule)
  5. Select the rule that best fits your demand
  6. Choose the specific Action; the type of discount to apply. For shipping discounts types, we have three possibilities.
    • Percentage off shipping fees : defines the discount percentage off the shipping fees
    • Fixed amount shipping fees : defines the discount amount off the shipping fees
    • Fixed shipping fees : defines a new fixed shipping fees that should be paid by the customer
  7. Select the percentage or fixed amount to apply according to your previous choice
  8. Choose the shipping methods on which the selected action applies on. Here you have two possibilities. As said above, you have three shipping methods and only Flat rate and Local pickup can receive discounts. Note that Multiple choices are allowed here.
  9. Publish the discount.

Some dynamic WooCommerce discount on shipping fees examples using Conditional Discounts for WooCommerce:

  • 50% off discount on shipping fees for the first 10 customers who ships orders to Romania or Russia
  • Free shipping if order subtotal is more than $999
  • Apply $2 off Flat rate shipping fees if customers email domain name is orionorigin.comwoocommerce discount shipping fees

This tutorial is to help you learn how to create a woocommerce discount shipping fees whenever you feel the need to do it.

If you have any questions or remarks, kindly drop a comment below.

 

22 comments

  1. Luke

    Hi guys,

    I am trying to figure out if your plugin can do what I am looking for. I know it says it can discount shipping fees.

    Basically, I am looking to be able to discount the shipping cost by an amount per item. So for example, say delivery is £20, I can make it so each product added discounts it by £1. If they add 10 of the same or different products, it will now be £10 shipping. If they add 20 products, it will be £0 shipping fee. Is this possible?

    Many thanks

    August 14, 2019 at 7:59 pm
    Reply
    • Hermann

      Yes that’s totally possible

      August 14, 2019 at 10:17 pm
      Reply
  2. Carey

    Is there a way to offer free shipping based on Shipping Zip Code? I did not see that as an option in the demo.

    February 2, 2020 at 9:29 pm
    Reply
    • Donald Faly

      No it is not possible to offer free shipping based on shipping zip code but you can offer it based on shipping state.
      You can hire us to develop this solution for you if you wish.

      February 3, 2020 at 10:00 am
      Reply
  3. Jose Luis

    Hello,

    Im using a UPS shipping method (via woocommerce plugin), so when I tried to implement a 50% discount in shipping. It doesn’t work.

    Can you help me?

    February 13, 2020 at 10:46 pm
    Reply
    • Hermann

      Sure Jose. Please start a live chat or send an email to help[at]orionorigin[dot]com

      February 14, 2020 at 4:58 am
      Reply
  4. Arif

    Hi I am looking for something like this

    My woocommerce shipping is only configure 1 Free shipping for all product like default shipping is “Free shipping”
    I also import shipping by alishipaddon and i want to add at least 1 premium shipping which is imported from alishipaddon beside my free shipping (default) options.
    however when i add 1 premium shipping from alishipaddon then it’s not allowed to make combine shipping (means same 2 product with different properties can use 1 shipping fee)
    so if use your plugin can i set a rule like this – if same product with different variants it will just consider 1 shipping fee?

    November 3, 2020 at 10:58 am
    Reply
    • Donald Faly

      Hello Arif, yes it is possible to apply discounts on shipping fees depending on the products purchased.

      November 3, 2020 at 12:22 pm
      Reply
      • Arif

        Hi donald,

        Great thanks, BTW
        is it possible to do a trail/simulate with this plugin and see my expected result if its work then i can go for this plugin. how can I do a trail test? please advice.

        November 3, 2020 at 10:56 pm
        Reply
  5. Camille

    Hello, I use the Colissimo Officiel plugin as shipping method (Colissimo at home and Colissimo relay). Is it possible to add a rule (free shipping) with this shiping method or your plugin can only recognize the WC basic shipping methods ? So these methods could be displayed but with price = 0 ? Thanks a lot for your reply.

    January 29, 2021 at 1:58 am
    Reply
    • Hermann

      Hello,
      Our plugin can recognize custom shipping methods. You can for example set 100% off the shipping fees if the selected method is Colissimo and it will work fine.

      January 29, 2021 at 5:10 pm
      Reply
  6. Alex

    Hi guys, I need to offer a shipping fee discount just if the costumer has a specific membership plan, also, offer a various percentages discounts if the costumer have the membership active, and combine with the total purchase amount. is this possible? thanks

    February 28, 2021 at 6:32 pm
    Reply
    • Hermann

      Hello,
      I’m pretty sure that’s possible. Can you provide an example so I can confirm?

      February 28, 2021 at 8:31 pm
      Reply
  7. Jasmine

    My client (operate a restaurant) allows for order $60 & above to enjoy special promotional shipping fees. But different location has a different discount rate, not a fixed percentage for all area. There are 14 locations/areas. Can this plugin help me? Btw, the restaurant is located in Singapore.

    May 27, 2021 at 5:36 am
    Reply
    • Donald Faly

      Hello Jasmine, Yes, the plugin can do it but you will have to create a discount for each location as the amounts differ

      May 27, 2021 at 9:37 am
      Reply
      • Jasmine

        Can I enter the exact discounted amount in number… like $20 (for example, the amount after discount)? Or I need to enter by percentage for each location?

        May 27, 2021 at 9:53 am
        Reply
  8. Michael

    Hi! We’re using this with WooCommerce’s FedEx Shipping Method and would like to offer 100% off shipping if users use FedEx Ground (but not Priority Overnight or any others). Is there a way to set this up as a condition with your plugin, or is there another workaround to get there — any help appreciated!

    June 30, 2021 at 7:15 pm
    Reply
    • Donald Faly

      Hello Michael, yes it is possible to set up a discount based on any shipping method available on your store using the plugin.

      June 30, 2021 at 8:17 pm
      Reply
  9. Manu

    If I buy the plugin for a single (production) site can I use it also in a staging environment?

    November 8, 2021 at 3:20 pm
    Reply
    • Adeniran L.

      Hello Manu,

      We can help you reset the domain the license is active on whenever you’re ready to go live. And should your test site be a subdomain of your live site (or is installed on another path on the same domain) then there would be no need for us to intervene.

      The license works for a particular domain and ALL of its subdomains.

      November 9, 2021 at 4:58 pm
      Reply
  10. mike

    I would like to set up a discount that only applies to the “local pickup” option. The discount will need to subtract $20 off of each item in the cart if local pickup is selected

    February 1, 2022 at 12:45 am
    Reply
    • Donald Faly

      Hello Mike, you can setup the rule like this.
      Here is a test result.

      February 1, 2022 at 8:30 am
      Reply

Leave a comment

Your email address will not be published. Required fields are marked *