Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Increase text allowed in categories


CreoleTech

Recommended Posts

Posted

I'm trying to fit "The Official Hurricane Katrina Poster TM" in a category name but it seems there is a limit. I only see "The Official Hurricane Katrina P"

 

How can this be fixed?

Posted

If it continues in the line underneath it, then you need to readjust your categories box width. Beware though, if you increase it too much your store will look awful (very little space for the center section).

 

The simplest way to do this (and it will do for every infobox you have on the side columns) is this.

 

Find in /includes/application_top.php this line of code:

// customization for the design layout
 define('BOX_WIDTH', 125);

 

And change the that number to a number which you belive will fit. You may need some trial and error to get to the correct size.

Also, that number represents pixels.

Posted

Gotcha.... so 2 lines is the limit for a category name?

 

 

If it continues in the line underneath it, then you need to readjust your categories box width. Beware though, if you increase it too much your store will look awful (very little space for the center section).

 

The simplest way to do this (and it will do for every infobox you have on the side columns) is this.

 

Find in /includes/application_top.php this line of code:

// customization for the design layout
 define('BOX_WIDTH', 125);

 

And change the that number to a number which you belive will fit. You may need some trial and error to get to the correct size.

Also, that number represents pixels.

Posted
Gotcha.... so 2 lines is the limit for a category name?

 

Hmmm, now I honestly don't know. :(

Posted

I found the solution:

 

You need to use phpmyadmin or some similar program to alter the size of the name field in the database.

Posted

the limit is set in the mysql database,

go to phpmyadmin, browse to table-> categories_description

then alter field categories_name from varchar(33) to for example varchar(66)

Archived

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

×
×
  • Create New...