Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / tpl_index_product_list.php - single image

tpl_index_product_list.php - single image

Locked

Views: 1,872

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
16 Jan 2007, 7:05 PM
#1
sam18204 avatar

sam18204

New Zenner

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

tpl_index_product_list.php - single image

Greetings,

For the product listings page I would like to have it where there are 6 images per page (3 rows, 2 columns and no text) and when you click on the image it will take you straight to the item. I've tried tweaking the tpl_index_product_list.php file and searching with no luck so I am hoping someone may have an answer.

Thanks in advance.

16 Jan 2007, 7:26 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: tpl_index_product_list.php - single image

There are actually about 3-4 files that make up this listing. The one that you looked at, tpl_modules_product_listing.php, and tpl_columnar_display.php.

It is the last one that lays out the single product per row. You would have to clone this(as it is used elsewhere) rename it, and change the other files to look for the new file.

A bit of work but not impossible. this is tabular data and uses tables, You will most likely lose the control through the admin for this display so lay it out as you want and you can leave out the check for this or that switch else stuff

17 Jan 2007, 12:36 AM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: tpl_index_product_list.php - single image

Or you could use the "Column Layout Grid for Product Listing" contribution, available in Downloads > Other Modules. Turn off/disable the parts you don't want.
Set it to 2 per row, and max 6 products per page in admin.