You are here

function hook_commerce_cart_order_pre_refresh in Commerce Core 7

Allows modules to perform processing on a shopping cart order prior to the logic in commerce_cart_order_refresh() taking place.

Parameters

$order: The order about to be refreshed.

See also

commerce_cart_order_refresh()

1 invocation of hook_commerce_cart_order_pre_refresh()
commerce_cart_order_refresh in modules/cart/commerce_cart.module
Refreshes the contents of a shopping cart by finding the most current prices for any product line items on the order.

File

modules/cart/commerce_cart.api.php, line 112
Hooks provided by the Cart module.

Code

function hook_commerce_cart_order_pre_refresh($order) {

  // No example.
}