Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2008
    Posts
    8
    Plugin Contributions
    0

    Default Adding more columns to the product listing page

    Hello guys,

    I have biotech products which needs to be listed in a table format as such on the product listing page.
    Essentially, product name is just like before, Solution and Concentrated are read-only fields for each product, and datasheet is a downloadable PDF.

    Product Name | Solution | Concentrated | Data Sheet
    Antibody A | 6 ml | 1 ml | download
    Antibody B | 8 ml | 2 ml | download
    Antibody C | 6 ml | 3 ml | download

    Is this possible? Can anyone give me some idea on how this could get started?

    Thanks!
    Thunderbird

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding more columns to the product listing page

    If I understand what you seek then in the product description entry area you will create/insert a table for this data

    http://www.w3schools.com/html/html_tables.asp
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: Adding more columns to the product listing page

    actually, not exactly, because the product description is 1 description per product

    what I need is to have the product listing page, to be in a table format....

    so this wouldn't be something for each product, but more a table under a category...

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding more columns to the product listing page

    You are in luck - the default product listing for a category already exists in table format with these as headers:

    Product Image
    Item Name
    Price
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Mar 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: Adding more columns to the product listing page

    yes, but how do you add more headers?
    I need to add 3 more headers beside the default ones!

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding more columns to the product listing page

    As this is created through an array - Roll up your sleves as this will start with the tpl file for the product listing back into the module that gets the DB info for the array and back to the Database where you will need to adjust to store your new data.

    Open the files and follow the logic back through the other files called

    You can start with the includes/templates/template_default/templates/tpl_modules_product_listing.php
    and check each include and require for other files
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Mar 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: Adding more columns to the product listing page

    ok so those are the files -

    the next question I have is - if I wanted to specify for each product the value for each header, where would I do that?

    would that be some kind of attribute option/value thing?

    the files there allows me to list things in a table format, but what about extracting the values to display? where is the best place to store those values for each product?

    thanks,
    thunderbird

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding more columns to the product listing page

    if I wanted to specify for each product the value for each header, where would I do that?
    By default the header titles are not variable - wanting this adds another layer of complexity where you will have to create the var in the DB and then call the var in the files that populate the header titles.

    How is your php knowledge?
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Mar 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: Adding more columns to the product listing page

    I am pretty good at php. I wrote some facebook applications a while back.

    I realize I could actually use product attributes, but I have no idea how to get attributes to show on the product listing page....

 

 

Similar Threads

  1. v151 Removing the Buy Now/More Info buttons on Product Listing page
    By apriigem in forum Customization from the Admin
    Replies: 18
    Last Post: 22 Jun 2021, 06:57 AM
  2. v150 Change product listing format (more columns!)
    By sb12759 in forum General Questions
    Replies: 14
    Last Post: 30 May 2012, 11:06 PM
  3. how to add more columns to the product listing page
    By thunderbird2004 in forum General Questions
    Replies: 1
    Last Post: 23 Mar 2008, 12:57 AM
  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. How do I change the product listing page to display 3 columns?
    By echazen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Sep 2007, 09:51 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