function commerce_cart_commerce_order_state_info in Commerce Core 7
Implements hook_commerce_order_state_info().
File
- modules/
cart/ commerce_cart.module, line 162 - Implements the shopping cart system and add to cart features.
Code
function commerce_cart_commerce_order_state_info() {
$order_states = array();
$order_states['cart'] = array(
'name' => 'cart',
'title' => t('Shopping cart'),
'description' => t('Orders in this state have not been completed by the customer yet.'),
'weight' => -5,
'default_status' => 'cart',
);
return $order_states;
}