Description
The “ims_before_update_cart” action runs before the shopping cart is updated from the shopping cart page.
A plugin (or theme) can add an action with the code:
<?php add_action( 'ims_before_update_cart', 'filter_function_name'); ?>
The hook is located in the image-store/_inc/car.php file.
Example
// apply action function actionims_before_update_cart( $ImStoreCart ) { //run action here } add_action('ims_before_update_cart', 'action_ims_before_update_cart');
Note: $ImStoreCart is the global cart object.
Leave a Reply