Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / anyone know how to have multiple products per row? help!?

anyone know how to have multiple products per row? help!?

Locked

Views: 1,350

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
19 Jan 2008, 1:46 PM
#1
nonni avatar

nonni

New Zenner

Join Date:
Jan 2008
Posts:
9
Plugin Contributions:
0

anyone know how to have multiple products per row? help!?

Hi guys, i'm new to this, but i've heard you lot are good at helping with problems like this.
Basically in my products listing page I want three items across, where as at the mo it shows one, even if I remove all the other product info. Here is the example (excuse the blue lines its a work in progress :))
I've seen so many shops displaying multiple products in a row but I can't find any info about customising this bit - please help! Even if you can just point me in the direction of the files that need playing with.
I hope you can help!

19 Jan 2008, 4:34 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: anyone know how to have multiple products per row? help!?

You'll need to install the 'Column Layout Grid for Product Listing' mod. Click on 'downloads' at the top of this page. The mod works great.

21 Jan 2008, 6:06 PM
#3
cdcalvert avatar

cdcalvert

New Zenner

Join Date:
Jan 2008
Location:
Coeur d'Alene, Idaho
Posts:
10
Plugin Contributions:
0

Re: anyone know how to have multiple products per row? help!?

I just installed this on v1.3.7.1

and got this error message

Fatal error: Call to undefined function zen_get_generated_category_path_rev() in /includes/modules/custom/product_listing.php on line 209

This is line 209:

 $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';

Any hints on how to correct this?

21 Jan 2008, 6:31 PM
#4
cdcalvert avatar

cdcalvert

New Zenner

Join Date:
Jan 2008
Location:
Coeur d'Alene, Idaho
Posts:
10
Plugin Contributions:
0

Re: anyone know how to have multiple products per row? help!?

I just downloaded an earlier version of the product_listing.php file and that fixed it. Yippee!

22 Jan 2008, 8:52 PM
#5
nonni avatar

nonni

New Zenner

Join Date:
Jan 2008
Posts:
9
Plugin Contributions:
0

Re: anyone know how to have multiple products per row? help!?

thanks guys!
I installed the 1.3.6 - 1.3.7 one, and added the SQL patches and hey presto!
i can't believe i didn't ask for help sooner! was going mad scouring the tutorials for something :)