SHANX6336 Posted April 17, 2004 Posted April 17, 2004 Hey everybody, I checked through the contributions list and I found two contributions for making product listings in multiple columns, instead of the way it comes when you first install OsCommerce. Both gave me problems, and I am assuming because they weren't built for the most recent release of OsCommerce, osCommerce 2.2 Milestone 2. Most them were made in 2003 so I doubt they would work. Is there a contribution out there that will allow me to do this with the OsCommerce I have now (I just downloaded the most recent version from the OsCommerce site a week ago). Thanks! Your help is greatly appreciated.
Guest Posted April 17, 2004 Posted April 17, 2004 There are versions for MS2 (the most recent apart from CVS which you shouldn't be using) here: Product Listing in Columns Matti
MickO Posted February 9, 2005 Posted February 9, 2005 There are versions for MS2... Hi! I decided to try this, and I end up with an interesting effect - the images of the products are not shown (instead, the ALT tag is shown). Selecting one of the image-less products renders an error: 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'select p.products_image, pd.products_name, p.products_id, p.ma select count(select p.products_image, pd.products_name, p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = \'1\' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = \'1\' and p2c.categories_id = \'58\' order by pd.products_name) as total Now, being a sysadmin and too lazy to go to the bottom of the SQL error, can someone slap me and tell me what I'm not looking at? The ID of the product_listing_col.php is: $Id: product_listing_col.php,v 1.00 2002/05/06 20:28:07 icw_ Exp $ I'm running osCommerce 2.2-MS2 with MySQL 4.0.18 and PHP4.3.4. Thanks all :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.