frontend_order_cart_save

Triggered upon changing of the shopping cart contents on the in-cart checkout page—selection of another service option, product removal, or product quantity change.

Shop-Script

Input (passed by reference)

$params array Parameters.
$params['updates'] array Changed cart items’ data. Array keys are shopping cart’s item IDs.
$params['errors'] array Error messages.
… your plugin code …

Output

Shop-Script

Plugin code example

PHP

public function frontendOrderCartSave($params)
{
    waLog::dump($params, 'shop/myplugin/frontend-order-cart-save.log');
}