If you want to add a Handling Fee in WooCommerce you now have to add the code below. You would then add this to your functions.php file in your child theme in #wordpress. Save the file then you now have a $5 handling fee! :-)
add_action( 'woocommerce_cart_calculate_fees','endo_handling_fee' );
function endo_handling_fee() {
global $woocommerce;
if ( is_admin() && ! defined( 'DOING_AJAX' ) )
return;
$fee = 5.00;
$woocommerce->cart->add_fee( 'Handling', $fee, true, 'standard' );
}
Join the Discussion
Create an account or sign in to leave a comment.