Delete the number produced by subcategories

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeDelete the number produced by subcategories

This topic has been marked as resolved.

Delete the number products by subcategories, it’s possible?

Thanks
Massimo

April 3, 2012 at 12:49 pm #7766

Delete the number product by subcategories item menu.
It’s possible? Can you help me?

April 3, 2012 at 6:10 pm #7772

Hi,

to remove the products count after the category name, open catalog/view/theme/shoppica/template/product/category.tpl, GoTo row 55 and replace

<li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></li>
with
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!

This should help.

April 9, 2012 at 12:59 pm #7869

I tried to replace the piece of code but the page was no longer being charged and then found to be completely white.
From novice I tried to modify the code to:

and it works. But appearing before the name of the category symbols

You certainly managed to show me the error.

Thanks
Massimo

April 10, 2012 at 10:09 am #7902

Can’t really get what you are trying to explain. The code you have pasted contains spaces that break PHP. Copy and replace the code exactly like in our reply above. We have tested it and it works. If you are getting white page after the replacing, then you are doing something wrong – maybe your ftp/file editor breaks the encoding or something.

Best,
ThemeBurn team

April 11, 2012 at 1:45 pm #7949

Hi,

I wrote the code by hand, letter by letter and double checked, and with code written in the post shows me the page is completely blank.

Have you tested it by copying the code written in your post?

Perhaps missed something in the code as it happened, for example, in another post in which there asked to apply a link to the image of the background? In that case, in your first response, was missing a piece of code.

What could be the problem?

April 11, 2012 at 3:39 pm #7974

Hi,

We saw now, that the forum text parser has added something to the code from our post (rel="nofollow").

It is now edited correctly and works 100%.

Best,
ThemeBurn team

April 12, 2012 at 1:25 pm #8013

Perfect!

Thanks
Massimo

April 12, 2012 at 2:20 pm #8017
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.