Add Extra Fee Based on Billing Country At Checkout in WooCommerce

$50.00
Quick Demo

This code enables you to add different fees based on which country the customer enters in the billing details at checkout. You can use any number of countries with different fee’s for each country. Example :

Add more country codes and fees to the array.

Here’s the fee for 1 specific country, Canada :

Demo Video

Shows the fee changes based on the country entered into the billing fields on checkout. In this example : $10 for the United States and $15 for Canada.

Installation

Copy and paste the PHP code ( without the opening PHP tag ) to the end of your child themes functions file.

These solutions may also help :