Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to increase model char. limit of 32 chars.?

How to increase model char. limit of 32 chars.?

Locked

Views: 1,445

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
29 Feb 2008, 4:43 PM
#1
crosswraith avatar

crosswraith

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

How to increase model char. limit of 32 chars.?

In the model field the character limit has been set to 32 characters. I'm in need of expanding this limit. In the SQL-database, zen_products table and in products_model field the limit has been set to: varchar(32).
I'm wondering if it's just to increase this limit to: varchar(64) or must I take into account something else as well?

Im aware that more characters might break the design/layout when rendering the detailed product view page in the browser, but that is a small issue I can fix easily.
(I'm in no need for CSS help here)

Any input would be great!

29 Feb 2008, 5:53 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to increase model char. limit of 32 chars.?

Yes you have evaluated this correctly and can reset the var to 48 or 64 or? and deal with the rendering later

29 Feb 2008, 8:33 PM
#3
crosswraith avatar

crosswraith

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

Re: How to increase model char. limit of 32 chars.?

Thx! Just wanted to be sure ;-)

31 Mar 2008, 10:49 PM
#4
entica avatar

entica

New Zenner

Join Date:
Mar 2008
Posts:
8
Plugin Contributions:
0

Re: How to increase model char. limit of 32 chars.?

Hi, I was in need of doing this exact same thing. This thread helped me a lot! Many thanks.

However, model #'s are still being truncated to 32 characters on Invoices (in the admin, not email). I'm presuming this is just a display thing of the admin invoice generator. Any clues as to where I can fix that so it displays the full model #?

Thx.