Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing Length of Category Name

Changing Length of Category Name

Views: 1,007

Results 1 to 4 of 4
11 Dec 2012, 6:04 PM
#1
peter_aimimports avatar

peter_aimimports

New Zenner

Join Date:
Nov 2012
Posts:
15
Plugin Contributions:
0

Changing Length of Category Name

On the Admin page:

Categories / Products

New Category
Please fill out the following information for the new category

Category Name: ####################__32########################################

<input type="text" maxlength="32" size="33" name="categories_name[1]"></input>
(This was cut and pasted from Mozilla Inspect Element - On The Admin Page)

Maxlength is set to 32.

What can I do to increase this length ? And where ? css ? SQL database ? other places ?

11 Dec 2012, 7:28 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Changing Length of Category Name

  1. open your DB ( I open it with phpMyAdmin)
  2. select table categories_descriptions
  3. and edit the table structure - field:categories_name
  4. change the length of categories_name varchar from 32 to the length you need ( I changed it to 128)
  5. retype your categories Hebrew names in your zen cart admin
11 Dec 2012, 7:48 PM
#3
peter_aimimports avatar

peter_aimimports

New Zenner

Join Date:
Nov 2012
Posts:
15
Plugin Contributions:
0

Re: Changing Length of Category Name

Haredo - many thanks. This will work just fine.

11 Dec 2012, 8:08 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Changing Length of Category Name

Your most welcome, glad your solution was fixed ...