WooCommerce offers a lots of cool features for shipping. Flat Rate Shipping is the free shipping method in WooCommerce. It allows you define a standard rate per item, per shipping class or per order. We will cover the set up and some additional options of flat rate shipping below.
Setup and Configuration
To get started,
→ Go to WooCommerce > Settings > Shipping.
→ Then Select a Shipping Zone and click the + icon to Add Shipping Method. A new window like the following display.
→ From the drop down menu select Flat Rate like the following screenshot.
→ Now click Add shipping method.
→ Click Flat Rate in the row that you want to define. Each Shipping Zone may have different Flat Rates.
You will see a different screen like following:
→ Enter a Method Title that displays to customers in checkout.
→ Select Tax Status to define whether or not tax is applicable to the shipping amount.
→ Enter Cost in the Cost field. You can add additional costs per item to this field.
You can left blank to disable Flat Rate except where costs are added for Shipping Classes. For further details on Flat Rate see the Advanced costs below.
→ Now Save the Changes.
The Cost field option on above allows you to charge a flat rate per item, a percentage based cost or a minimum fee.
Following are details:
[qty]– number of items
[fee]– additional fees
[fee percent="10" min_fee="20"]– Percentage-based fee. Fee has two optional arguments.
- percent – Percentage based on total order cost.
- min_fee – Minimum amount. It is useful when using percentages.
Shipping classes interface adds a few more fields:
- There is one cost field for each shipping class (like the above screenshot).
- No Shipping Class Cost is useful if you use the Per Class option below. Otherwise, use the Cost field above.
- Calculation Type – There are two types:
- Per Order – Choose the most expensive option based on shipping costs in the cart.
- Per Class – Charges shipping for each shipping class.
How to set up Free Shipping for some products and Flat Rate for the rest
If you would like to offer Free Shipping on some of your specific products but like to keep charge a Flat Rate for others, the best way to set this up is using Shipping Classes.
Once we have added all the products to their respective shipping classes, we can use the following settings to allow for the products in the Free Shipping class for shipping, while all the other products do.
By setting up the Free Shipping class cost to use
0 * [qty], no matter how many products from that class are added to the cart and the shipping cost will not increase. However, products in the Expedited Shipping class will cost $20 per product from that class (because in this example we’re using
20 * [qty]) while Regular Shipping class products and products that have no shipping class will cost $10 per product to ship (as of we’re using
10 * [qty] for each of those options).
This means that if you have one product from each of your three shipping classes, the total Flat Rate cost will be $30 ($20 for one Expedited Shipping product, $10 for one Regular Shipping product, and $0 for one Free Shipping product).
You may also like: How to Set up WooCommerce Coupons