ims_cart_image_list

Description

The “ims_cart_image_list” filter is used to add HTML to the at the end of the image (order) list in the shopping cart page.

A plugin (or theme) can modify the output with the code:

<?php add_filter( 'ims_cart_image_list', 'filter_function_name'); ?>

The hook is located in the image-store/_store/cart.php file.

Example

// Apply filter
function add_ims_cart_image_list( $output, $ImStore ) {
	return $output . "<p>my message</p>"; 
}
add_filter('ims_cart_image_list', 'add_ims_cart_image_list');

Note:  $output is a HTML string, $ImStore is the global store object.


Leave a Reply

Your email address will not be published. Required fields are marked *