Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    NY
    Posts
    149
    Plugin Contributions
    0

    Default Re: more info link that shows up when item is sold out

    Try changing the following:

    Instead of removing the bolded line completely, try changing it to

    Code:
    $lc_button = '';
    Then try changing line 240 from:
    Code:
    $lc_text = implode('<br />', $product_contents);
    To:
    Code:
    $lc_text = implode('', $product_contents);
    You may need to manually add back some <br /> tags if you want more spacing after editing the implode line.

  2. #2
    Join Date
    Aug 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: more info link that shows up when item is sold out

    Great minds think alike! lol

    I actually tried both of those options last night after reading the different posts on this board. Unfortunately neither of them do the job.

    I might be misunderstanding you though so I wanted to clarify something.

    When I remove the bold anchor tag it actually creates the $lc_button = ''; since that tag was inside the apostrophe's of that code.

    Should I be adding another instance of $lc_button=''; inside that code?

    Ohhh and removing the line break on line 204 just removes the space that is between the bottom of the image and the title.

    I am willing to try anything and everything if you have any more thoughts on it. :)

    Thanks SO MUCH for your help. It is greatly appreciated.

  3. #3
    Join Date
    Aug 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: more info link that shows up when item is sold out

    removed.
    Last edited by tanyaslogos; 19 Nov 2009 at 12:41 AM.

  4. #4
    Join Date
    Aug 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: more info link that shows up when item is sold out

    For anyone else struggling with this issue.

    This is the part that I removed to get rid of the space and the text.

    Code:
            $products_link = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . ( ($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ? zen_get_generated_category_path_rev($_GET['filter_id']) : $_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id'])) . '&products_id=' . $listing->fields['products_id']) . '">' . MORE_INFO_TEXT . '</a>';
            $lc_text .= '<br />' . zen_get_buy_now_button($listing->fields['products_id'], $the_button, $products_link) . '<br />' .
    Thanks again Pjb923 for your help - you got me looking at the code differently which made me finally see the light. :)
    Last edited by tanyaslogos; 19 Nov 2009 at 12:46 AM.

  5. #5
    Join Date
    Jan 2005
    Location
    NY
    Posts
    149
    Plugin Contributions
    0

    Default Re: more info link that shows up when item is sold out

    I'm glad to hear that you got it working. I must have misread your first post and thought you had the entire line bolded. Your code is correct.

    I always struggle with all of the extra linebreaks in the product listing. Thanks for sharing your solution.

  6. #6
    Join Date
    Aug 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: more info link that shows up when item is sold out

    lol no worries - Since I am PHP illiterate I have a difficult time articulating what I need. :)

    Oh and you're welcome for the post of the fix. It wasn't completely selfless on my part - I figure when I forget what I did to fix it I can find the answer on here. :)

    That and I know what it is like to search in vain for answers so I hope this post will keep someone from tearing their hair out.

 

 

Similar Threads

  1. v139h How can an item that has "Sold Out" continue to sell?
    By WetSteve in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 11 Jul 2014, 12:17 AM
  2. v139h How do I alter text that shows when checking out at shipping selection screen?
    By heteromorphic in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 10 Sep 2012, 05:21 AM
  3. v150 Sold Out Button Overlapping More Info Link
    By ravynw34 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Mar 2012, 02:38 PM
  4. Get rid of "More Info" link for sold out items
    By cloudstrife08 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Jan 2010, 03:02 AM
  5. CSS button sold out, overlapping ...more info
    By quantum in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 May 2007, 08:59 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
  •  
disjunctive-egg