Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How do you make the short description longer?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-06-2006, 01:13 AM
 
AB AB is offline
 

Newbie
  
Join Date: Jun 2006
Location: New Zealand
Posts: 6
 

Default How do you make the short description longer?

Hi, does anyone know how you can make the short description text longer for products? I am running version 4.1.2 (lastet)

Thanks
AB
__________________
Thanks
Aaron
X-Cart Gold Version 4.1.2
Windows Server 2003
Reply With Quote
  #2  
Old 07-06-2006, 02:39 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Welcome to X-Cart! Please start by reading the forum rules, and posting your X-Cart version in your signature (Edit profile, enter version, enter help desk password, click the 'Always attach my signature:' box, save):

http://forum.x-cart.com/viewtopic.php?t=6489
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-06-2006, 02:26 PM
 
AB AB is offline
 

Newbie
  
Join Date: Jun 2006
Location: New Zealand
Posts: 6
 

Default

Hi Ryan,
Sorry about that, thanks. I have changed the details as you can see. Changing over to another system that I don't know is hard work and you just don't think of the small stuff
__________________
Thanks
Aaron
X-Cart Gold Version 4.1.2
Windows Server 2003
Reply With Quote
  #4  
Old 07-06-2006, 03:09 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Thanks! So where would you like the short description to appear longer?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 07-07-2006, 01:58 AM
 
AB AB is offline
 

Newbie
  
Join Date: Jun 2006
Location: New Zealand
Posts: 6
 

Default

Hi Ryan,

I would just like more text to show up where the short description appears, there must be a setting that I can adjust to show more charters?
__________________
Thanks
Aaron
X-Cart Gold Version 4.1.2
Windows Server 2003
Reply With Quote
  #6  
Old 07-07-2006, 02:20 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Use phpMyAdmin to change the field type from VARCHAR(255) to just a TEXT field on the short description table.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 07-07-2006, 01:34 PM
 
AB AB is offline
 

Newbie
  
Join Date: Jun 2006
Location: New Zealand
Posts: 6
 

Default

Hi Ryan,

Thanks, I was looking in the wrong place.
__________________
Thanks
Aaron
X-Cart Gold Version 4.1.2
Windows Server 2003
Reply With Quote
  #8  
Old 07-07-2006, 08:59 PM
 
AB AB is offline
 

Newbie
  
Join Date: Jun 2006
Location: New Zealand
Posts: 6
 

Default

Hi Ryan,

I have been to phpMyAdmin and I found the two tables descr and fulldescr however they are both set to text already, do you know if there is a setting in xcart?
__________________
Thanks
Aaron
X-Cart Gold Version 4.1.2
Windows Server 2003
Reply With Quote
  #9  
Old 07-08-2006, 07:10 PM
 
vulcan-works vulcan-works is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 143
 

Default

in skin1/customer/main/products.tpl

look for something like this :
Code:
{$products[product].descr|truncate:300:"...":true}

and change the # in there to something bigger(i changed mine to 300)
__________________
X-cart--4.7.12

vulcanworks.net
Reply With Quote
  #10  
Old 07-09-2006, 12:55 AM
 
AB AB is offline
 

Newbie
  
Join Date: Jun 2006
Location: New Zealand
Posts: 6
 

Default

Excellent, that works, I changed mine to 2000 and it makes the page layout better. Thanks.
__________________
Thanks
Aaron
X-Cart Gold Version 4.1.2
Windows Server 2003
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:06 AM.

   

 
X-Cart forums © 2001-2020