CRE Loaded Community

Banner


Board index » Loaded Commerce Support » Tips & Tricks

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: extended products name field
PostPosted: Wed Dec 07, 2011 8:00 am 
Offline
CRE Newbie
User avatar

Joined: Sat Oct 28, 2006 12:00 am
Posts: 23
Hi there,
I've got a 6.4 Pro store and realised that the products name in Admin is limited to 64 chars even though the database field is set to 128 chars. I'm guessing that the reason for this is the concatenated names for subproducts which ends up as "products name + ' - ' + sub products name" (which would trigger a sql error if both products name and sub products name are 64 chars as there will be no space available for the divider ' - '. Nevermind).

So I need to extend it a bit by 1. increasing the database field to 255 and 2. set max length in /admin/categories.php to, say 120 and 3. ensure that the products listing and product info pages will display the full length.

My question is if there are any other logic or functions affecting the length of products name, which could trigger an error? Or is it safe to assume that the products name field will be displayed either in full or truncated...?

Many thanks,
Bjorn


Top
 Profile  
 
 Post subject: Re: extended products name field
PostPosted: Fri Dec 09, 2011 8:20 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2394
Location: New Zealand
Hi Bjorn

It won't trigger an error - it just won't show you the full name.
There are several places product names are shown - it sounds like you've got a handle on what to do.

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: extended products name field
PostPosted: Sun Dec 11, 2011 5:18 pm 
Offline
CRE Newbie
User avatar

Joined: Sat Oct 28, 2006 12:00 am
Posts: 23
Thanks Simon. I'll let you know how I get on. The run-up for christmas is not the best of times to play around with the site....


Top
 Profile  
 
 Post subject: Re: extended products name field
PostPosted: Sun Jan 01, 2012 3:51 pm 
Offline
CRE Newbie
User avatar

Joined: Sat Oct 28, 2006 12:00 am
Posts: 23
quick update - no probs at all with Cre Loaded after that I increased the products_name field in the database to varchar(500) and set the products_name field's maxlength to 240 in admin/category.php. But the Sage Form interface complains, probably because of the length of the field but need to figure out what the max length at Sage end might be. Suspect there may be similar issues with other external parties, like Google Base, as well.


Top
 Profile  
 
 Post subject: Re: extended products name field
PostPosted: Tue Jan 03, 2012 4:39 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2394
Location: New Zealand
There's not a lot of point increasing the product name field to 500 characters - many reasons, but in reference to sagepay form's description (max 100) and google merchant (max title of 70) you're going to be way over.

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Board index » Loaded Commerce Support » Tips & Tricks

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
It is currently Thu May 17, 2012 10:03 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy