Is there a way to check If category has image? I want to show icons for each category individual in Mega Menu.
I want to dynamic add categories in mega menu.
Please see attached screenshot.
Any help would be greatly appreciated!
categoryfaviconsmagento2menu
Is there a way to check If category has image? I want to show icons for each category individual in Mega Menu.
I want to dynamic add categories in mega menu.
Please see attached screenshot.
Any help would be greatly appreciated!
Best Answer
You can check in Category page by using below code.
If $_ImgUrl is not equal to blank means category has image else not.
Thanks