You can get the order total etc e.g. $order->get_total();.
Updated: I have added 2 functions that will grab the selected delivery option to the order and display it in order detail table for order received ...
Learn how to add a custom handling fee to every order.
The problem for me is how to "catch" the loop in php and pass those variables to JavaScript Snipper.
I need grab a field from an Order Tracking plugin to display in the order?
Lets grab the order. $order = new WC_Order( $order_id );. // Order ID. $order_id = $order->get_order_number();. // Order total
10, 4 ); function wpo_wcpdf_custom_filename( $filename, $template_type, ... grab the order total $order_total = $order->get_total(); } // check if the order ...
global $woocommerce;. /* Grab current total number of products */.
My function returns 3 which is the total not the specific number in that session. Would it be possible to grab only the quantity for that specific ...
Restrict coupon usage by user role, minimum spend, products , product