Skip to main content

Hoe filter ik items eruit zonder prijs?

7 years 8 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?
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,


Please Log in to join the conversation.

Time to create page: 0.302 seconds