Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules: Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#3868 by pixls
27 Jan 2017, 10:00
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
#3869 by aimeos
27 Jan 2017, 13:36
Pretty simple: Add your message like "There are no products matching your criteria" if "itemsProductItems" is empty:
https://github.com/aimeos/ai-client-html/blob/master/client/html/templates/catalog/lists/items-body-default.php#L35

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