Results 1 to 3 of 3
  1. #1
    Join Date
    January 17th, 2005
    How can you use a product description field to show a short sample of the description on an index page?

    For example, on the index page you limit the description to, say, 100 characters - followed by a link saying "... click for more details"

    On the actual product page, you use the full description obviously.

  2. #2
    Full Member
    Join Date
    January 17th, 2005

    This is probably not the most "elegant" solution, but here is how I would probably do this:

    1) Copy the existing "Description" column/field and paste it into a new spreadsheet. Save it as an Excel file

    2) Import that new spreadsheet into a database program, e.g. I happen to use Corel Paradox. You should be able to do the same with Access.

    3) Use the "Format Restructure" functions to reduce the number of characters in that field to 100.

    4) Copy and Paste the resulting fields into a new column in your original datafeed, and lable it "Description100." Make sure that they are pasted in correctly to match the "Description" field!

    5) Insert the field "Description100" into your WM template following by ". . . click for more details" and the link to the Product page.

    Another, even less elegant solution, would be to copy/past the "Description" column into a new column/field in your datafeed and label it "Description100." Then, you could use a memorize-the-steps-macro program (I'm still using Record.exe from Windows 3.1!) to page through and edit the "Description100 column" record by record. For each record you would have the macro start at the beginning of the line, count over 100 spaces, then select and delete the remaining text in that line.

    Have a Creative Day!
    FRANK, Baertracks
    Be More Creative

  3. #3
    Join Date
    January 17th, 2005
    Thanks for the suggestions Frank.

    I guess I was really wondering if there was some kind of Webmerge tag that would automatically truncate the text to a given length.

    Something like ...
    [WM-Field: Description length100]

    Perhaps Richard would consider adding it to the next version - I think it would be a pretty useful addition.

    The method you suggest is certainly workable - I may consider it if there is no 'easy' option.

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Problems with product description page
    By eflouret in forum GoldenCAN
    Replies: 0
    Last Post: February 16th, 2008, 07:08 AM
  2. How to show index numbers on index page?
    By sinpeople in forum WebMerge (
    Replies: 0
    Last Post: June 23rd, 2007, 11:06 PM
  3. How to make product page names in index
    By mreider in forum WebMerge (
    Replies: 2
    Last Post: April 15th, 2005, 08:49 PM
  4. how do I create a new index page for each product category?
    By pw3909 in forum WebMerge (
    Replies: 2
    Last Post: May 2nd, 2004, 07:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts