Support » Plugin: WooCommerce » How to find the subtotal value (without tax and fees) in the Woocommerce code

  • Im trying to find the subtotal value without tax and fees in the woocoomerce code. I want to use the value after people have completed an order (thankyou.php) and run some code there. I tought it was $order->get_line_subtotal(); but that gave 0 as value when I used it in the wp-content/plugins/woocommerce/templates/checkout/thankyou.php file.

    Im using 3.1.2 v of Woocommerce.

    The page I need help with: [log in to see the link]

  • The topic ‘How to find the subtotal value (without tax and fees) in the Woocommerce code’ is closed to new replies.