This topic has 3 voices, contains 5 replies, and was last updated by LUCID-JEWELRY 119 days ago.
ThemeBurn Support › Forums › OpenCart Themes › Pavilion OpenCart Theme › how to create a link on image thumb subcategory
This topic has been marked as resolved.
I have a mega menu with subcategories thumb activated.
I see that only the title of the subcategory has a href link, but the image has not. I want that when customers click on the image they get to the subcategory.
I tried to change some code in Category.tpl (catalog/view/theme/burnengine/tb/menu/category.tpl)
I changed the line:
$(this).find(“> a”).after(‘<span><img src=”‘ + image_source + ‘” /></span>’);
$(this).find(“> a”).after(‘<a href=”<?php echo $category['url']; ?>”><span><img src=”‘ + image_source + ‘” /></span>’);
Now I have a link to the main category, but I want a link to the subcategory
Can you help me out.
You can see on http://www.cardprotector.eu –> choose “Secrid leather wallets” –> Click on image of “Mini wallets”
Best from Bob
thanks. it works
Glad we’ve helped
Also I took advantage of this solution.
Works great on pc
However, it does not work on a mobile device ?
It does not work on my nokia windows mobile 8
On newer mobile phones it works without a problem
Register | Log in
Support forums are restricted to verified buyers only. To apply for access click the "Register" link above and follow the on screen instructions.
Product support is offered by forum only. Requests made by email or any other way will be redirected to the forum.