Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: More link on product listing page

    $lc_more is now the link for the text ... more info ...

    But, you have to add that to the code to display ...

    This, excluding the HTML for clarity, is displaying the products_description on the page:
    Code:
    zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listi ng->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION)
    You need to now add to that the $lc_more and decide whether to add a space or line break etc or just add it straight on to it ... example:

    Code:
    zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listi ng->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . $lc_more
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #12
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: More link on product listing page

    Hi, I too am stuck with this, all I want is a link that reads 'More info' after the ... on all the products on product listing page. I'm quite new to php and can't work out which bits of code to put where. I know I have to put code into product_listing.php but if someone could explain in lamens terms exactly which bits of code to insert where in product_listing.php to achieve my desired result.

    Many thanks.

  3. #13
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: More link on product listing page

    Ignore me, I found another thread with the answer. Thanks

  4. #14
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: More link on product listing page

    What thread was that?
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #15
    Join Date
    Nov 2006
    Location
    Indiana
    Posts
    192
    Plugin Contributions
    0

    Default Re: More link on product listing page

    Yeah, I'd love to know too! As you can see on my website, I still don't have it figured out and gave up to put out bigger fires.

  6. #16
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: More link on product listing page

    ah, sorry I've forgotten but I'll try find the link to the thread where I found my answer, watch this space...

  7. #17
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: More link on product listing page


  8. #18
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: More link on product listing page

    Thanks for the udpate and posting where you found the solution ... that is really a great help for others!
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Product listing - move price/more info link
    By RobM in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 May 2011, 06:46 PM
  2. all products on product listing to display 'more details...' link
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 27 Mar 2011, 11:29 PM
  3. Add more info link to product listing description when description is truncated
    By MaureenT in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 16 Sep 2010, 05:44 PM
  4. Product listing more info link
    By 121webconsultancy in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 27 Jan 2009, 12:26 AM
  5. Display more info link in Product Listing
    By numenor in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Jul 2006, 01:56 PM

Posting Permissions

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