Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Products in Columns


martinstan

Recommended Posts

Hi All

I'm trying to find a contribution that places the product listing in columns (of say 3) rather than in the single rows that is the default. I spent about 4 hrs installing 'Graphical Borders' thinking this would do it but it doesn't. There are a couple of other contributions that just seem to fall short. Ideally I'd like to be able to add a boxed border to each product too. Any suggestions would be much appreciated.

Thanks

Link to comment
Share on other sites

Thanks for you replies. Does this contribution allow for adding borders and background colours to individual product columns http://addons.oscommerce.com/info/112

In a way. If you first design the output you want (starting from the output of that contribution) you can add the necessary HTML for the look you designed to the product_listing_col.php file.

Link to comment
Share on other sites

I've tried playing with the code below to get some kind of formatting to the product boxes but no real luck.

Look at 7 different views for your product listing table (product_listing.php) to see how you can add HTML to the product listing code. The nr. 6 one is the one closest to your image but unfortunately starts echo'ing html from the product listing like templates do. The number in $product_contents[0] depends on the listing view that is chosen in the admin (so $product_contents[0] is the number one, $product_contents[1] is number two etc.).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...