You are here

function commerce_cart_rules_empty in Commerce Core 7

Rules action: empties a cart order.

1 string reference to 'commerce_cart_rules_empty'
commerce_cart_rules_action_info in modules/cart/commerce_cart.rules.inc
Implements hook_rules_action_info().

File

modules/cart/commerce_cart.rules.inc, line 188
Rules integration for shopping carts.

Code

function commerce_cart_rules_empty($order) {
  commerce_cart_order_empty($order);
}