Forums / General Questions / Can I change the maximum characters allowed?

Can I change the maximum characters allowed?

Locked

Views: 1,010

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
9 Dec 2009, 12:18 AM
#1
benhamcollectibles avatar

benhamcollectibles

Zen Follower

Join Date:
Oct 2009
Posts:
131
Plugin Contributions:
0

Can I change the maximum characters allowed?

I have many category titles that are longer than 32 characters and many product names that are longer than 64 characters. This is really hindering my ability to accurately list my products. Is there a way to raise these numbers higher?

Here is a link to my site if this will help anyone that needs to see how things look.

https://www.benhambaseballcards.com

9 Dec 2009, 1:56 AM
#2
benhamcollectibles avatar

benhamcollectibles

Zen Follower

Join Date:
Oct 2009
Posts:
131
Plugin Contributions:
0

Re: Can I change the maximum characters allowed?

YES!! I can change that for product names and category names. I had to go into the database and find categories_descriptions in the left side bar. Once in that, find the category_names and click on the pencil to change that info. Change the varchar box from 32 to whatever up to 255. You can do this for products_descriptions to products_names as well, but it is set at 64. I raised both of mine to 255 and they work great!!

Here is a link to my site if this will help anyone that needs to see how things look.

https://www.benhambaseballcards.com

9 Dec 2009, 2:20 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can I change the maximum characters allowed?

Keep in mind that if you change something in one place there might be other places where such a change must also be made, such as product names in the tables that store completed orders.

However, I submit that if one has really really long product and category names, one will probably have navigation problems on their site and may be putting too much detail in the product name ... which should be put elsewhere instead.

Too often people stuff their product name with excessive keywords, which is annoying to customers and results in being flagged as spam-like. Just be sure you're really doing it for the customer's benefit ... otherwise you might actually be making things harder on your customers, and thus resulting in fewer sales.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.