Results 1 to 3 of 3
  1. #1
    Join Date
    May 2007
    Posts
    471
    Plugin Contributions
    0

    Default More info removal not working

    I have tried to remove the more info...

    that comes on the product listing page as per previous threads that I have found....but it does not seem to work!

    I have tried to modify the tpl_product_listing file, but that justleaves me with an error message on my site.

    Can anyone please help me - I just want the price and product name below the image and nothing else...how can I do this?!?! I would also like to tighten up the space between the product name and price....where can I do this as well?

    You can see a sample page at:


    http://www.expressionsphotostore.net...=index&cPath=8

    Thank you so much!!!

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: More info removal not working

    To remove the add to cart/more info button, edit /includes/modules/your_template/product_listing.php. Find this section around line 185:
    PHP Code:
              $the_button $lc_button;
            
    $products_link '<a href="' zen_href_link(zen_get_info_page($listing->fields['products_id']), ($_GET['cPath'] > 'cPath=' $_GET['cPath'] . '&' '') . '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 />' zen_get_products_quantity_min_units_display($listing->fields['products_id']);
              
    $lc_text .= '<br />' . (zen_get_show_product_switch($listing->fields['products_id'], 'ALWAYS_FREE_SHIPPING_IMAGE_SWITCH') ? (zen_get_product_is_always_free_shipping($listing->fields['products_id']) ? TEXT_PRODUCT_FREE_SHIPPING_ICON '<br />' '') : '');

              break;
            case 
    'PRODUCT_LIST_QUANTITY'
    and comment out one line like this
    PHP Code:

              $the_button 
    $lc_button;
            
    $products_link '<a href="' zen_href_link(zen_get_info_page($listing->fields['products_id']), ($_GET['cPath'] > 'cPath=' $_GET['cPath'] . '&' '') . '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 />' . zen_get_products_quantity_min_units_display($listing->fields['products_id']);
              
    $lc_text .= '<br />' . (zen_get_show_product_switch($listing->fields['products_id'], 'ALWAYS_FREE_SHIPPING_IMAGE_SWITCH') ? (zen_get_product_is_always_free_shipping($listing->fields['products_id']) ? TEXT_PRODUCT_FREE_SHIPPING_ICON '<br />' '') : '');

              break;
            case 
    'PRODUCT_LIST_QUANTITY'

  3. #3
    Join Date
    May 2007
    Posts
    471
    Plugin Contributions
    0

    Default Re: More info removal not working



    I cannot thank you enough!!!!!!!

 

 

Similar Threads

  1. more info not showing
    By rufusclc in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Feb 2009, 04:30 AM
  2. I broke it I know not where More Info Sidebox
    By wasana in forum Basic Configuration
    Replies: 2
    Last Post: 9 Oct 2007, 01:50 AM
  3. More Info sidebox not showing
    By squid in forum Basic Configuration
    Replies: 3
    Last Post: 19 Sep 2006, 05: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