Skip navigation
Help

hook_uc_cart_item_update

7 uc_cart.api.php hook_uc_cart_item_update($entity)

Act on cart item entities when updated.

Parameters

$entity: The cart item entity object.

Related topics

1 function implements hook_uc_cart_item_update()

File

ubercart/uc_cart/uc_cart.api.php, line 174
Hooks provided by the Cart module.

Code

function hook_uc_cart_item_update($entity) {
  drupal_set_message(t('An item was updated in your cart'));
}