How can I view & access all available variables for a Drupal Commerce cart?
You can use the function commerce_cart_order_load &amp; commerce_line_item_load() to load the current order(cart) object &amp; order product objects respectively:

  global $user;
  $order = commerce_cart_order_load($user-&gt;uid);
  $cart_items = array();
  foreach ($order-&gt;commerce_line_items[LANGUAGE_NONE] as $line_item) {
    $cart_items[] = commerce_line_item_load($line_item['line_item_id']);
  }


In this example, $order contains the Commerce order(cart) object for the current user &amp; $cart_items contain an array of line item (order products) objects.