Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Probably a Simple Fix


rookinla

Recommended Posts

On my site's home page, the number of items in a particular category is listed for customers to see...example...

 

Search by Manufacturer -> (133)

 

How can I remove the number...it doesn't look professional. Also the Category Name is on two lines. Example...

 

Search by

Manufacturer

 

 

Probably also an easy fix but I would be interested in how to fix these...

 

Thanks,

 

Eric

Jet Obsession

www.jetobsession.com

Link to comment
Share on other sites

to remove the brackets and number, open /catalog/includes/boxes/categories.php and comment out (or delete) this line:

 

$categories_string .= ' (' . $products_in_category . ')';

 

To stop the text wrapping you'll either need to shorten the text itself or widen the box. The box width is set in /catalog/includes/application_top.php. Find this piece of code:

 

// customization for the design layout

define('BOX_WIDTH', 125); // how wide the boxes should be in pixels

 

and change the 125 to something bigger

Link to comment
Share on other sites

to remove the brackets and number, open /catalog/includes/boxes/categories.php and comment out (or delete) this line:

 

$categories_string .= ' (' . $products_in_category . ')';

 

To stop the text wrapping you'll either need to shorten the text itself or widen the box. The box width is set in /catalog/includes/application_top.php. Find this piece of code:

 

// customization for the design layout

define('BOX_WIDTH', 125); // how wide the boxes should be in pixels

 

and change the 125 to something bigger

 

 

Thanks! It worked with one small detail left...

 

Next to the category (only on three of them) there is the following... "->"

 

I did comment out the line but the arrow is still there...Thanks for your help!

 

 

I went into the code and couldn't find where to get rid of that

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...