Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

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

  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
    64,726
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

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

  5. #15
    Join Date
    Nov 2006
    Location
    Indiana
    Posts
    79
    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.
    [FONT=Arial]Allison[/FONT]
    www.ThreeSistersFabric.com

  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
    64,726
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

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

 

 
Page 2 of 2 FirstFirst 12

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
  •