Jump to content
Sign in to follow this  
TwilightRealm

Menu question: "Category Link -> (2)" to just "Category Link"?

Recommended Posts

The category links have a little text arrow and list the quality of products in that category. Is there any way to change, for example:

 

Gifts & Misc-> (5)

 

to just:

 

Gifts & Misc

 

?

Share this post


Link to post
Share on other sites
The category links have a little text arrow and list the quality of products in that category. Is there any way to change, for example:

 

Gifts & Misc-> (5)

 

to just:

 

Gifts & Misc

 

?

 

 

Simple: Log in to your admin/configuration/my store -> Show Category Counts -> false

 

This will also make your shop faster.

Share this post


Link to post
Share on other sites
Simple: Log in to your admin/configuration/my store -> Show Category Counts -> false

 

This will also make your shop faster.

 

Thank you, this got rid of the count, but there's still a text arrow "Gifts & Misc ->" I can't find which file contains this because when I search for -> I get the results for script <!-- comments -->

Share this post


Link to post
Share on other sites

/catalog/includes/boxes/categories.php

 

Change:

 

	if (tep_has_category_subcategories($counter)) {
  $categories_string .= '->';
}

To:

 

/* commented out the ->
if (tep_has_category_subcategories($counter)) {
  $categories_string .= '->';
}
*/

BACKUP THE FILE FIRST!!!

 

You break it - You bought it...

:blush:


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Share this post


Link to post
Share on other sites

Thank you, this did the trick!

 

/catalog/includes/boxes/categories.php

 

Change:

 

	if (tep_has_category_subcategories($counter)) {
  $categories_string .= '->';
}

To:

 

/* commented out the ->
if (tep_has_category_subcategories($counter)) {
  $categories_string .= '->';
}
*/

BACKUP THE FILE FIRST!!!

 

You break it - You bought it...

:blush:

Share this post


Link to post
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
Sign in to follow this  

×