Dear Abantecart,
Thanks for the great HTML5 template, we do like its look and feel. There is, however, some room for improvements.
As we know, a top category thumb image that is shown to customers on the front page drop-down menu is by design an image of the last sub-category of a given top category that you point your mouse over. This behavior is fixed and may not be suitable to all shops.
At the same time, we have functionality in the control panel to add the images to all sub-categories, and even the top category itself.
The top category image, however, will only be shown to Admin herself in her control panel, and not the end users. As a workaround, you can still make the top-cat image available to your customers in the Menu block drop-down (instead of the last sub-cat thumb) by modifying the tpl file manually this way (based on
http://forum.abantecart.com/index.php?topic=1079.0 ):
# diff storefront/view/default_html5/template/blocks/category_top.tpl category_top.tpl.old
38,40c38,40
< <li><img style="display:block" src="<?php echo $category['thumb']; ?>"
< alt="<?php echo $category['name']; ?>"
< title="<?php echo $category['name']; ?>">
---
> <li><img style="display:block" src="<?php echo $scat['thumb']; ?>"
> alt="<?php echo $scat['name']; ?>"
> title="<?php echo $scat['name']; ?>">
But this wasn't the feature we were going to suggest
Here is a related feature that doesn't seem to be possible to achieve even with hacks like the above:ideally, the image(s) shown in Menu block category drop-down on the storefront page should change dynamically, depending on where your mouse is pointing:
- the moment you point at one of top categories (menu items corresponding to the 1st level product categories), you are presented with the top cat image to the right of the drop-down which shows sub-cats,
- next, when you start moving your mouse down drop-down, that thumb image changes dynamically depending on which exact sub-category your hovering over (with images of corresponding 2nd level sub-cat).
This way would allow us to present the top-category and 2nd level sub-cats images on the storefront page in a neat way!
(Currently, the only chance consumers have to see images of the sub-cats is on those rare occasions when they click directly on the 1st level product categories names in the menu rather than choosing sub-cat from drop-down).
Hope it makes sense to you,
thank you