Jump to content

Removing the links in subcategories


Recommended Posts

Dear PS'ers,

I got this question, is it possible to remove the links under the pictures in subcategories, "WHAT?!" must be what youre thinking right now ;) Have a look at the picture below or in the attachment.

33mvdad.png

Thanks in advance, Im looking forward to a reply regarding this.

Gr, Niin

3621_Bux0aWBpQSBaui3Wofjo_t

Link to comment
Share on other sites

Hi

This seems to work but i havn't fully tested it

in your themes folder

make a backup copy of category.tpl and name it something like category-backup.tpl this way your safe because you have it to go back to.

Open category.tpl

Look for the code below... it's about halfway down... and delete it

getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}



Hope it helps

Link to comment
Share on other sites

Hi

This seems to work but i havn't fully tested it

in your themes folder

make a backup copy of category.tpl and name it something like category-backup.tpl this way your safe because you have it to go back to.

Open category.tpl

Look for the code below... it's about halfway down... and delete it

getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}



Hope it helps



Seems to work great! Ill let you know if there are problems with it but as far as i can see it is just working fine. Thank you very much!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...