Add a % surcharge to your cart / checkout with WooCommerce
If you are a WooCommerce user this great snippet will add a 1% surcharge to your cart on checkout. You can easily change the $percentage variable to adjust the surcharge percent and you are good to go.Read More...
- Add new country to WooCommerce countries list
Change the currency symbol in WooCommerce
If you are looking for a way to use code to change the currency symbol this little snippet will do the trick for you. Just add this to the functions.php of your wordpress theme and you are ready to go.Read More...
Rename a country in WooCommerce
Adding this snippet to the functions.php of your wordpress theme will rename any country in WooCommerce countries list.Read More...
Define a % surcharge by delivery country with WooCommerce
Similar to the 1% surcharge snippet, this will add a basic surcharge however only applied to specific countries. Keep in mind that you can reverse this and exclude from surcharge list with a simple little change ofRead More...
!in_arrayand you are good to go. We have the wonderful people at WooCommerce to thank for this snippet you can view the original here.
Show trailing zeros on prices in WooCommerce
Since WooCommerce 2.1 trailing zeros on prices has been removed. So if you want ti have trailing zeros adding to your pricing be sure to add this snippet to the functions.php of your wordpress them.Read More...