Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change "categories" list style?


soulfain

Recommended Posts

Hi, I want to make a list-style for categories box but i don't know how to do this. I just want to add a » but I don't know which file I have to edit.

 

»Brooches

»Bracelets

»Earrings

instead of

Brooches

Bracelets

Earrings

 

Deleting the number of items after the category name also would be nice.

Brooches

Bracelets

Earrings

instead of

Brooches (2)

Bracelets (0)

Earrings (10)

 

Please help me,

 

Cheers,

Soulfain

Link to comment
Share on other sites

the number is easy change, just turn off category counts in

 

adminstration, configuration, Show Category Counts

 

the other change I think is manual in categories.php, but without looking I cant confirm that

Thanks for reply, it was helpful. I also think it can be done in categories.php, but I don't know the place to make an edit. Or just use list style in a category name?

Link to comment
Share on other sites

If all you want is to add " » " in front of the category names, do this.

In catalog/includes/boxes/categories.php find

	$categories_string .= '<a href="';

Change to

	$categories_string .= '»<a href="';

This will add that in front of all top level categories and subcategories.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...