![]() ![]() ![]() Keep in mind that you have to make sure you clear your WooCommerce cache (WooCommerce → System Status → Tools → WC Transients → Clear transients), as shipping methods are cached. This would mean that no editing of the child theme's function.php file was necessary and I would have the added bonus of having a plugin to re use on other projects if need be. Of course this would make it difficult if an update to the child theme was ever released. You only need to set the rate amount and specify if the rate applies to the entire order or for. The problem for me was the fact that the client's website was a purchased Child Theme and since you can't have a child theme of a child theme, I would have to edit the functions.php file of the child theme to get this function to work. This method calculates the shipping price based on a flat rate. At the moment, customers who qualify for free shipping will also have paid shipping option shown, which may confuse some customers. No matter a quick Google search and I found just what I wanted. 12 I charge my customers flat rate for shipping and I also offer free shipping for orders that are above certain amount. ![]() I recently came across the situation where a client wanted the flat rate shipping method removed if the free shipping method was available in the WooCommerce shipping cart, something that I would have thought would be standard behaviour in WooCommerce. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |