Page 1 of 1

Message if no product meets filter criteria

Posted: 27 Jan 2017, 10:00
by pixls
Hi

I was wondering if there was a way to implement a message if no product meets the filter criteria. Currently it just displays an empty list. It would be really neat to have a message there.

I tried it building it, but couldnt figure out how.
Does somebody know how to implement this?

Thanks

Re: Message if no product meets filter criteria

Posted: 27 Jan 2017, 13:36
by aimeos
Pretty simple: Add your message like "There are no products matching your criteria" if "itemsProductItems" is empty:
https://github.com/aimeos/ai-client-htm ... lt.php#L35

Can you create a pull request for your change too so we will get it into the next Aimeos release? :-)