Do you want to charge extra cost to WooCommerce cash on delivery?
Don’t worry. I got you covered here!
WooCommerce cash on delivery cost means a fee will add to the cart’s total if a user selects the cash on delivery(COD) payment method.
The bad news is that WooCommerce doesn’t allow you to do so. You need to take help from third-party extensions or use custom code to accomplish it.
Custom coding this functionality in WooCommerce can be complicated if you don’t have any coding expertise. But there are extensions/plugins available in the market that you can use to charge a fee for cash on delivery payment method.
Some of these are difficult to use and not reliable.
So in today’s article, I’ll walk you through the simple and easy-to-follow steps to charge the extra cost to cash on delivery payment method rule with the help of the Dynamic Pricing & Discount Rules plugin.
Here’s a quick sneak peek of the final results.
On This Page
- 1 How to Charge Extra Cost to WooCommerce Cash on Delivery Payment Method?
- 1.1 1. Install and activate the Dynamic Pricing & Discount Rules Plugin
- 1.2 2. Navigate to Dynamic Pricing Rules
- 1.3 3. Navigate to Checkout Fees Tab
- 1.4 4. Add Pricing Group
- 1.5 5. Set Checkout Fee Label
- 1.6 6. Set the Fee Type and Amount Based on the Total Cart
- 1.7 7. Apply the Condition
- 1.8 8. Save Changes
- 1.9 9. Final Results
- 2 Wrapping Up
How to Charge Extra Cost to WooCommerce Cash on Delivery Payment Method?
Here I’ll show you the step-by-step process to charge a cost to the cash on delivery payment method.
Note: I assume you have already added the COD payment method to your store. If not, first, you need to add the payment method to your store to follow along with the tutorial.
I’ll create a rule that will charge a cost to a cash-on-delivery payment method. If the users complete the purchase using the COD payment method, they’ll be charged a $5 cost for using the COD. And if they select any other payment method, no extra charges will add to the cart’s total.
So, follow the following steps to charge a cost to WooCommerce cash-on-delivery payment method payment.
1. Install and activate the Dynamic Pricing & Discount Rules Plugin
Note: You can skip this step if you have already installed and activated the Dynamic Pricing & Discount Rules plugin.
To install the Dynamic Pricing & Discount Rules plugin, you will need to install the Woosuite Core plugin and activate it with the help of a license key. We have created a Quick Start Guide for you to figure out how to install and activate the Dynamic Pricing & Discount Rules plugin.
Once you have installed and activated the plugin, navigate to Woosuite » Dynamic Pricing Rules from your WordPress admin dashboard.
Now, navigate to the Checkout Fees tab. You can add fixed or percentage custom fees based on different conditions at the checkout.
4. Add Pricing Group
Click on the Add Pricing Group button to add a rule to charge a cost for using the cash-on-delivery payment method to complete the checkout.
5. Set Checkout Fee Label
Now in the ‘Title’ and the ‘Checkout Fee Label’ fields, set the label to show on the checkout page.
You can ignore the title field if you want but ensure that you enter a label explaining the fee, like in this case, ‘Cash on Delivery Cost.’
6. Set the Fee Type and Amount Based on the Total Cart
You’ll get two options from the ‘Fees Based on’ dropdown.
- Cart Total
- Cart Item
Select ‘Cart Total’ from the dropdown so that the users will be charged a cost based on the complete cart, and the cost will add once to the cart’s total.
Note: If you select ‘Cart Item’ from the dropdown, then $5 extra charges will add to the cart’s total for each item. Let’s say there are three items in the cart, then a fee of $5 x 3 = $15 will add to the cart’s total.
6.1. Select the Type and Amount of the Extra Cost
Now from the ‘Type’ dropdown, select the ‘Fixed Adjustment,’ and in the ‘Amount’ field, enter the extra amount you want to charge the users when they purchase the products using the cash-on-delivery payment gateway.
7. Apply the Condition
We need to add the condition so that this extra cost of $5 will only be charged by the users who complete the checkout process using the cash-on-delivery payment method.
So make sure that from the ‘Checkout’ dropdown, ‘Payment Method’ is selected, and from the ‘Condition’ dropdown, ‘IN’ is selected.
Now in the ‘Method’[ field, select the payment method for which you want to charge extra so that the fee will only be charged by the users who will complete the checkout process using this selected payment method which in our case will be cash-on-delivery.
8. Save Changes
Finally, click the green Save Changes button at the top right corner of the screen to save the settings.
9. Final Results
Now let’s test if the rule works or not.
To test, I added a few products to my cart, and initially, when I selected the payment method as “Direct Bank Transfer,” no extra cost was added to the cart’s total.
But when I selected the payment method as ‘Cash on Delivery,’ the $5 extra cost to the cash-on-delivery(COD) payment gateway was added to the cart’s total.
That’s it for today’s tutorial. Now you know how to charge a cost to WooCommerce cash on delivery payment method in a few simple steps.
I hope this article was helpful to you, and If you have any questions, you can post them below in the comments section. I would love to answer all your questions.
Alternatively, you can contact our customer support for a quick response. They typically reply within an hour or less.
Ready to get started? Download the Dynamic Pricing & Discount Rules plugin and build something great at your store!