Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2006
    Posts
    43
    Plugin Contributions
    0

    Default Product Description question

    I have try to search all over the FQA and Forum I didn't see any thread relate to my question or maybe I blind

    How to edit the prodcut description on product listing page with independent column.

    I did check on modules/prodcut_list.php in file
    it only show the descrition inside of the Product name <td>
    all I want is the descrition in a independent <td> like the image below


  2. #2
    Join Date
    Nov 2006
    Location
    Caracas
    Posts
    114
    Plugin Contributions
    0

    Default Re: Product Description question

    look at

    includes/modules/product_listing.php


    duplicate in your template



    includes/modules/YOURTEMPLATENAME/product_listing.php


    and look at

    case 'PRODUCT_LIST_NAME':
    $lc_align = '';
    if (isset($_GET['manufacturers_id'])) {
    $lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3><div class="listingDescription">' . zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listi ng->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>' ;
    } else {
    $lc_text = '<h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), ($_GET['cPath'] > 0 ? 'cPath=' . $_GET['cPath'] . '&' : '') . 'products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3><div class="listingDescription">' . zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listi ng->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</div>';
    }
    break;


    this is the information in the td changed this you can delete the

    <h3 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), ($_GET['cPath'] > 0 ? 'cPath=' . $_GET['cPath'] . '&' : '') . 'products_id=' . $listing->fields['products_id']) . '">' . $listing->fields['products_name'] . '</a></h3>

    and it only show the description

 

 

Similar Threads

  1. product description question
    By ilovedoingwebsites in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 31 May 2011, 11:23 PM
  2. product description question
    By nevada in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 22 Feb 2010, 07:59 AM
  3. Product description question
    By afo in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 4 Sep 2008, 11:35 PM
  4. Product Description Question
    By hottytoddysummer in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Mar 2008, 08:29 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