Hi there,
I stumbled across this topic while looking for a script to show images instead of numbers for stock.
But I don't have to much experience with php so I hoped someone could help me with it. I only want to show this on th eproduct page itself, not on any lists.
This is what is use (form this topic):
I thinks this (DIR_WS_TEMPLATE_ICONS) is where I point to the directory were the images are located?PHP Code:case 'PRODUCT_LIST_QUANTITY':
$lc_align = 'right';
$lc_text = $listing->fields['products_quantity'];
if (zen_get_products_stock((int)$listing->fields['products_id']) >1) {
$zc_stock_level_image = '' . $products_quantity . zen_image(DIR_WS_TEMPLATE_ICONS . 'levertijd-groen.jpg', '', 10, 10) . '';
}
elseif (zen_get_products_stock((int)$listing->fields['products_id']) =1) {
$zc_stock_level_image = '' . $products_quantity . zen_image(DIR_WS_TEMPLATE_ICONS . 'levertijd-oranje.jpg', '', 10, 10) . '';
}
else {
$zc_stock_level_image = '' . $products_quantity . zen_image(DIR_WS_TEMPLATE_ICONS . 'levertijd-rood.jpg', '', 10, 10) . '';
}
$lc_text .= $zc_stock_level_image;
They are in http://www.mystore.com/levertijdpics, how do I put this in?
TYA





