Created
July 2, 2024 10:04
-
-
Save rajeshsingh520/195546a3ae47ab78631c43d19bf9bb3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('pisol_cefw_cart_total', function($total, $cart, $fee_arg, $fees){ | |
foreach($fee_arg as $fee_detail){ | |
$total += $fee_detail['amount']; | |
} | |
return $total; | |
}, 10, 4); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment