I would like to get the complete cart details from the Woocommerce order I d including the totals and subtotals etc. How to approach?
You can get the complete cart details by using the global $woocommerce object.
$items = $woocommerce->cart->get_cart();
Or you can use the WC() function directly to access the cart details.
$items = WC()->cart->get_cart();