I'm trying to modify SmartSearch to display a grid layout of related categories with their respective category icon.
I've figured out what file to edit: /common_files/modules/Smart_Search/smart_search.tpl
and where to put the code: below
Code:
{section name=rc loop=$related_categories max=$rcmax}
But I don't know how to get the url for the category icon. I tried this code that I found in /common_files/customer/main/subcategories_t.tpl
Code:
{get_category_image_url}
but it doesn't seem to work on that page.
Any help would be much appreciated! Once I figure it out, I'll post what I've done. I feel this is a superior way to display the related categories as most people's eyes are drawn to images rather than text.
THANKS!