Entries by The Staff


How to programatically charge extra fees in WooCommerce

In this tutorial we’ll go through a basic example of how to programatically create and charge extra fees in WooCommerce. We will create a basic options page to allow admin users the ability to add extra shipping fees to products based on specific taxonomies. To do this, we will customise the functions.php template file. For real-world use it is recommended that a plugin with separate functions be created.