Allows to update a default shopping cart item price, or price returned by the
shop:onGetCartItemPrice event.
This event is triggered after the
event.
The updated price will be correctly processed by the discount and tax engines.
Usage example:
public function subscribeEvents()
{
Backend::$events->addEvent('shop:onUpdateCartItemPrice', $this, 'update_cart_price');
}
public function update_cart_price($cart_item, $price)
{
if ($price > 1000)
return 999;
}