$order->get_subtotal()
should get you totals before taxes, coupons and shipping. It’s a method of WC_Abstract_Order
which is extended by the actual WC_Order
class.
$order->get_subtotal()
should get you totals before taxes, coupons and shipping. It’s a method of WC_Abstract_Order
which is extended by the actual WC_Order
class.