Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 11th, 2013, 01:21 PM
nokii nokii is offline
 
Join Date: Jun 2013
Posts: 26
Default Possible to cut product name?

Store ID: 42080
Website URL: www.fajnd.se

Hi!

Is there any way to cut the product name as it's possible for the product description? ([product.description cut='20 words'])

I'm trying to build a nice listpage of products where the product containers have the same height.

Thanks in advance.
  #2  
Old June 11th, 2013, 01:25 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

There is no "cut" for product names. But you can solve this 2 different ways:

1. Recommended: CSS. Here's how to use CSS to control how many lines of text should appear no matter how many lines of text there: /show...0166#post20166

2. You can also use PHP's substr function like this: /show...5676#post35676

Eric
  #3  
Old June 11th, 2013, 01:33 PM
nokii nokii is offline
 
Join Date: Jun 2013
Posts: 26
Default

Thanks Eric. Just love your speedy answers!!
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 -5. The time now is 01:14 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.