Hi Bram,
Because lately i see a lot of items with 0,0 euro or to low amounts. i decided to use the above way to get everything below 80 out. But its not working. It is still showing all the amounts. Can you see what is going wrong?
Code:
function isoreizen_cb(&$item) {
generic_cb($item);
$item['description']='';
if (empty($item['prijs']) || ((float)$item['prijs'] >= 80)){
$item['title']='';
}
else if (($item['menu_2'] !== 'Turkije') AND ($item['menu_2'] !== 'TR')) {
$item['title']='';
}
isoreizen($item);
}
Thanks in advance.
Kind regards,
Michel