You are here

function commerce_shipping_rules_remove_all in Commerce Shipping 7

Rules action: Remove all shipping line items on an order.

1 string reference to 'commerce_shipping_rules_remove_all'
commerce_shipping_rules_action_info in ./commerce_shipping.rules.inc
Implements hook_rules_action_info().

File

./commerce_shipping.rules.inc, line 84
Rules integration for shipping.

Code

function commerce_shipping_rules_remove_all($order) {
  commerce_shipping_clear_order($order);
}