$order_id ) { // Get the WC_Order instance Object $order = wc_get_order( $order_id ); // Output echo "
I have made a Data Layer variable in GTM and under Data Layer Variable Name, I want to include total but the problem is that total is under totals and I don't know ...
On Checkout page if ( ! is_wc_endpoint_url( ' order-received' )
You can get the order total etc e.g. $order->get_total();. */.
If you want your Facebook pixel to receive multiple purchase values, you can make the value dynamic. Learn how to set up dynamic value and currency of your ...
If you integrate any third-party services with your WooCommerce site
If it is present, display some custom thank you text for that order.
Get the official Facebook for WooCommerce extension for three powerful ways to help grow your business, including Facebook messenger, an ads extension, ...
WooCommerce. get_order_total(); ?> BigCommerce. %% ORDER_SUBTOTAL%%;. Magento.
- facebook-conversion-pixel/inc/class-wc-integration-fb-conversion-pixel.php