Message if no product meets filter criteria
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Message if no product meets filter criteria
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
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
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?
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?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star