Zen Cart Logo

Product name length

Views: 1,996

Results 1 to 11 of 11
21 Feb 2010, 1:22 PM
#1
laplandia avatar

laplandia

New Zenner

Join Date:
Feb 2010
Posts:
4
Plugin Contributions:
0

Product name length

Product names in the product list are shortened like this:

I want zen cart to display a full a name. Is it possible to do via admin panel or should I edit the template I use?

I'm using zen cart 1.3.8 and modern zen template.

21 Feb 2010, 2:10 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Product name length

Admin - Product Listing - Display Product Description

21 Feb 2010, 10:46 PM
#3
laplandia avatar

laplandia

New Zenner

Join Date:
Feb 2010
Posts:
4
Plugin Contributions:
0

Re: Product name length

I'm afraid it's not what I wanted. Your options shows a part of description in the product list, but the name still remains shortened.

21 Feb 2010, 10:52 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Product name length

In the products_description table in the database, the products_name field is set to 64 characters.

using phpMyAdmin, you can expand this, but it is not advisable to make it too large:

23 Feb 2010, 4:21 PM
#5
laplandia avatar

laplandia

New Zenner

Join Date:
Feb 2010
Posts:
4
Plugin Contributions:
0

Re: Product name length

Thanks, schoolboy. In fact, it was the first thing I've tried, but it doesn't affect the number of displayed characters in the product list.

I've tried to change the template and the default one displays full title, so I'll look into the template files.

23 Feb 2010, 4:38 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Product name length

What template are you using? Is it by any chance a TemplateMonster template?

16 Jul 2010, 12:41 PM
#8
waterlily avatar

waterlily

New Zenner

Join Date:
Jul 2010
Posts:
4
Plugin Contributions:
0

Re: Product name length

I am using Zencart v1.3.9d recently. I am having problem with the product name length, I hope to get longer product name length.
I tried to modify the product name field from 64 to 80 in the table
order_product and
product_option

but I did not see any change for the product name length. Can anyone tell me what is wrong? Thanks

21 Jul 2010, 7:16 PM
#9
mickeydora avatar

mickeydora

New Zenner

Join Date:
Jan 2010
Location:
San Diego
Posts:
30
Plugin Contributions:
0

Re: Product name length

Try inputting the product names again.

3 Aug 2011, 3:17 PM
#10
spiritcraft avatar

spiritcraft

New Zenner

Join Date:
May 2009
Posts:
34
Plugin Contributions:
0

Re: Product name length

This worked for me. keep in mind that Google base only displays and recommends a maximum of 70 . Don't know what happens if you exceed this and use Google Base.

3 Nov 2011, 3:04 PM
#11
glock1 avatar

glock1

Zen Follower

Join Date:
Sep 2011
Posts:
118
Plugin Contributions:
0

Re: Product name length

Ok, this is for those who have never used myPHPadmin.

To edit the product name length and change it from 64 characters (I changed mine to 100). Do this:

Backup your database first!

Go into myPHPadmin. On the left side select your database.

Scroll down to Zen_Product_Description and click on it.

Then click Structure in the top left corner of the right side of the screen.

Then find the products_name row and click change on the right side of the row

Change the Length/Value from 64 to the size you want. Don’t go wild. Not sure how this is going to effect your layout in your template.

Now click save in the bottom right corner.

You will find a “products_name” field in the “zen_orders_products” as well.

Go back to step 2 and chose that instead of “zen_product_description” and the rest of the steps are the same.

I used a 2nd browser to view the pages on my site in real time to see how it affected it.

Hope this helps.