Hoe filter ik items eruit zonder prijs?

More
6 years 5 months ago #4125 by leyla20
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

Please Log in or Create an account to join the conversation.

Time to create page: 0.170 seconds