Greetings,
I have been trying to use the "Auto Out of Stock" with the KISSIT and i need a help with the funcion tep_image(); call
How do i call the:
function tep_image($src, $alt = '', $width = '', $height = '', $products_id = null, $stock_check = '', $parameters = '', $responsive = true, $bootstrap_css = '') {
in the product_info.php:
<?php echo tep_image('images/' . $product_info['products_image'], addslashes($product_info['products_name']), KISSIT_MAIN_PRODUCT_IMAGE_WIDTH, KISSIT_MAIN_PRODUCT_IMAGE_HEIGHT, ((KISSIT_MAIN_PRODUCT_WATERMARK_SIZE > 0)? preg_replace('%<img width="[0-9 ]+" height="[0-9 ]+" src="(.*)title=.+%', 'data-highres="$1', tep_image('images/' . $product_info['products_image'], null, $width, $height)) : 'data-highres="'. 'images/' . $product_info['products_image'] . '"')); ?>
$products_id has to pass the $product_info['products_id'] to the tep_image() at html_output.php in functions.
Thanks in advance.