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.
Reviews
There are no reviews yet.