Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2011
    Posts
    10
    Plugin Contributions
    0

    Default How to separate product name and description into different table columns?

    I'm customizing the category pages where it lists a table of products in that category and I can't figure out how to get it to do what I want it to do. I've read a few forum threads on adding new fields to products but nothing quite matches.

    Basically, I want to take the product name and product description that are in the same table cell now and separate them into 2 columns. I can't even figure out what file I need to be editing to make this happen. Here is an example of a page I'm trying to do this on.

  2. #2
    Join Date
    Jul 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: How to separate product name and description into different table columns?

    I managed to hack together something that accomplishes this, but probably in a less than ideal way.

    In product_listing.php I edited the line that defines the contents of PRODUCT_LIST_NAME to close the current cell and open a new one between the name and description. This gets most of the table cells lined up right but not the TH headers. To get those in order I edited the english.php language file to define TABLE_HEADING_PRODUCTS as 'Item Name</th><th>Product Description'.

    This solution works but seems like it probably isn't ideal. Not sure if it's ok to have html in the language file defines and doing it this way doesn't let the new column header be a proper click to sort by this column.

 

 

Similar Threads

  1. how to insert images into product description?
    By kitcorsa in forum General Questions
    Replies: 2
    Last Post: 27 Oct 2010, 12:15 PM
  2. How to move the product name and description to right?
    By besparkling in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Jan 2010, 05:08 AM
  3. Replies: 1
    Last Post: 2 Apr 2008, 04:21 PM
  4. Adding columns in addition to product image and name in the product listing page
    By thunderbird2004 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 22 Mar 2008, 10:41 PM
  5. Adding separate AND different image to product page.
    By shannonlynch in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 28 Oct 2006, 02:53 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR