Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Dec 2011
    Posts
    287
    Plugin Contributions
    0

    Default Remove more info for Document products

    Hi, Im trying to set up the product listing page to have breaks in it, I am trying to achive this by adding completely blank document products. This works except there is still the "More info..." link to the right. Is there any simple way to remove the more info only for document products?

    Im thinking it would be some php coding in the product_listing.php page around line 103

    PHP Code:
     // more info in place of buy now
            
    $lc_button '';
            if (
    zen_has_product_attributes($listing->fields['products_id']) or PRODUCT_LIST_PRICE_BUY_NOW == '0') {
              
    $lc_button '<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>'
    Adding an if statement to the above? Sorry I dont know any php im just guessing, But hopefully someone can help.

    Or if you think there could be another way to separate my products, I wouldnt like to use another category tree as I think it would become too complicated for the users.

    Take a look at an example here:

    http://kitchenwarehouseltd.com/produ...er/beech-units
    Last edited by DannyVarley; 10 Sep 2012 at 11:05 AM.

 

 

Similar Threads

  1. expand more info link for products
    By sappster in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Oct 2011, 09:46 PM
  2. Remove More info link
    By riscphree in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 Nov 2009, 02:05 AM
  3. "...more info" link for products on search results page
    By ZCguy in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 Mar 2008, 05:08 PM
  4. Remove Document type from All Products listings
    By ddk632 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 Jun 2006, 08:35 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