Limiting amount of text displayed

General ShopSite user discussion

Limiting amount of text displayed

Postby VinceS » Fri Apr 06, 2007 1:30 pm

I'm creating a custom search results template and want to extract the first hundred characters of the More Information Text. Anyone know how I might be able to do this?

Thanks inadvance
VinceS
 
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm

Postby Jim » Fri Apr 06, 2007 2:01 pm

Have you set the
"Maximum number of characters displayed for the product description:"
field on the search configuration screen? (Preferences > Search Settings for a manager store or Preferences > Search Settings > Search Layout for Pro)
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby VinceS » Fri Apr 06, 2007 2:15 pm

Hi Jim
I knew I had seen something like that somwhere but couldn't remember where.
Is this limiting the Product Description or the More Information Description or whichever I decide to use in my template.
VinceS
 
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm

Postby Jim » Fri Apr 06, 2007 3:05 pm

I think it only works on product descriptions but I'm not sure.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby VinceS » Fri Apr 06, 2007 3:20 pm

Yes I tink you're right. I just tested my template and it did not shorten the MI Text.
VinceS
 
Posts: 134
Joined: Fri Apr 06, 2007 1:26 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 155 guests