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