Replies: 0
Hey guys,
how can I get the fee value of the order in my function.php?
I want to use the fee value that is set by the admin in the order admin panel and then work with it in my functions.php.
I would like to access it like:
$order = new WC_Order($order_id);
$myFee=($order->FEEVALUE);
//Code, Calcs, etc.
echo $myFee;
Can you help me on this issue?