Page 1 of 1

set a link for category

Posted: Mon Jul 04, 2016 5:35 am
by jadenronnie
Hi folks

my problem is simple and complicated :D i want to set custom link for a category, like i want to create a contact us option in category and link it to the contact us page.. Now the problem is I've tried adding

Code: Select all

<ul class="menu">
<li>
<a href="#">Contact Us</a>
<li>
<ul>
in header.tpl after foreach($categories..... but it's not working..
Any idea how to solve this probO?
oc version is: 2.0.1.0

Thankyuw

Re: set a link for category

Posted: Mon Jul 04, 2016 7:34 am
by straightlight
That is not a bug since the categories and not part of the contact us page by default.

Re: set a link for category

Posted: Mon Jul 04, 2016 7:33 pm
by impairedspook
Hi jadenronnie,

Check out my extension, this should do the trick for you. It will add a link to your top categories.. you will need to edit the link from Google to whatever you want and play with the sort order depending where you want the link placed.. but this should get you heading down the right track..

http://www.opencart.com/index.php?route ... add%20link

Hope this helps :)