Forums / Setting Up Categories, Products, Attributes / adding new cell in product listing..

adding new cell in product listing..

Locked

Views: 897

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
28 May 2007, 11:22 AM
#1
zc_newbie avatar

zc_newbie

New Zenner

Join Date:
Aug 2006
Posts:
98
Plugin Contributions:
0

adding new cell in product listing..

Hey guys,

I've been digging through the archives and still cannot figure out how to add a new cell to the product listing.. i downloaded the web developer for firefox (thanks for those who recommended it!) i wanted to add an extra cell after "price"

th #listCell0-2 .productListing-heading <-- this is currently what shows up under the product price cell.. i tried using developers tool kit to look for that string w/ no luck..

zc-newbie

30 May 2007, 8:37 PM
#2
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

Re: adding new cell in product listing..

It's probably a table cell, as opposed to a CSS layout option. Open up the template file for the product info page and have a look there...

includes/templates/template_default/templates/tpl_product_info_display.php

You'll want to set up your own template to save any changes that you make:
https://www.zen-cart.com/tutorials/index.php?article=232

Frank Koehl
"Cleverly Disguised as a Responsible Adult"

frankkoehl.com

5 Jun 2007, 5:27 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: adding new cell in product listing..

The product listing output is built in /includes/modules/your_template/product_listing.php, to display a list ($column_list) built in /includes/modules/pages/index/main_template_vars.php.

If you want an extra field done right, you probably should start with the basis of $column_list (a bunch of other constants and variables feeding back to admin settings). If you have something to just squeeze into the output, product_listing.php is probably good.