Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Nov 2006
    Location
    Indiana
    Posts
    79
    Plugin Contributions
    0

    Default More link on product listing page

    Sorry to bother you with such a basic question...

    Somewhere I think I turned off a switch that would create a link (to the product info page) on the product listing page when the product description was truncated. After the truncation it would say ...more and now it doesn't.


    Am I right or am I remembering wrong? I've been hunting for a while now. Please set me straight!
    [FONT=Arial]Allison[/FONT]
    www.ThreeSistersFabric.com

  2. #2
    Join Date
    Oct 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: More link on product listing page

    I realize this post is old, but did you ever have any luck figuring this out? I'm in the same boat and can't seem to find any info on solving it.
    thanks

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,666
    Plugin Contributions
    6

    Default Re: More link on product listing page

    You could customize the products_listing module and build a:
    ... more info

    link with the following:
    PHP Code:
              $lc_more '<a href="' zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > and $_GET['filter_id']) > ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > $_GET['cPath'] : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' $listing->fields['products_id']) . '">' MORE_INFO_TEXT '</a>'
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #4
    Join Date
    Oct 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: More link on product listing page

    Worked like a charm. Thanks Ajeh!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,666
    Plugin Contributions
    6

    Default Re: More link on product listing page

    You are most welcome ... thanks for the update that this worked for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #6
    Join Date
    Nov 2006
    Location
    Indiana
    Posts
    79
    Plugin Contributions
    0

    Default Re: More link on product listing page

    Can you tell me where you put that code? Many thanks!
    [FONT=Arial]Allison[/FONT]
    www.ThreeSistersFabric.com

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,666
    Plugin Contributions
    6

    Default Re: More link on product listing page

    That code can go anywhere in the module for the products_listing that you would want to see the ... more info ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  8. #8
    Join Date
    Nov 2006
    Location
    Indiana
    Posts
    79
    Plugin Contributions
    0

    Default Re: More link on product listing page

    I'm sorry Ajeh... I tried hard, but every time I try to add it the products won't display... I'm messing something up. Here's a link to my product listing page: http://www.threesistersfabric.com/fa...3-sisters-108/

    The description is truncated by a "...". I'd like to add the "...more info" link, but I need a little more coaching. Thanks very much.
    [FONT=Arial]Allison[/FONT]
    www.ThreeSistersFabric.com

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,666
    Plugin Contributions
    6

    Default Re: More link on product listing page

    Did you add the new variable:
    $lc_more

    to where the current products_description is being displayed so that the new ... more info link shows?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  10. #10
    Join Date
    Nov 2006
    Location
    Indiana
    Posts
    79
    Plugin Contributions
    0

    Default Re: More link on product listing page

    I think so.... (I've only dabbled with PHP since I started using Zen Cart, so I'm still not clear in my head as to what a variable is exactly. I'm going through a course, but haven't made all the connections mentally, if you know what I mean!)

    I copied the code you gave above and tried to add it to line 137... Does it not belong somewhere within this:
    <div class="listingDescription">' . zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listi ng->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>' ;
    I appreciate your patience. I really would like to learn this better!
    [FONT=Arial]Allison[/FONT]
    www.ThreeSistersFabric.com

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Blank Page on Index Listing Link
    By pinetreecandles in forum Basic Configuration
    Replies: 2
    Last Post: 25 Feb 2008, 11:07 PM
  2. Add "View Larger Image" Link to Product Listing Page
    By creative in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Feb 2008, 07:43 PM
  3. Replies: 22
    Last Post: 28 Nov 2007, 05:44 AM
  4. Product listing link colour
    By spbennett in forum General Questions
    Replies: 3
    Last Post: 22 Sep 2007, 05:39 PM

Bookmarks

Posting Permissions

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