![]() |
Thumbnails for product listings on category page
I need to display the category view of the products with their thumbnail images and some minimal other product information. I am using the multi-column settings in the admin for the featured products page.
What I need on the category page would be 4 or 5 products per row (the Featured Items are only set up for 2). How would I go about doing this? I have created products_categories.tpl to start making revisions, but I am unsure of where to include it, etc. Any suggestions from anyone? :) |
Not quite sure I understand....are you simply trying to duplicate the multi-column layout of featured products, but with regular products and more columns?
|
Am I making this more complicated than it needs to be?
I think that is what I am trying to do. :)
On the home page, the featured products are currently displayed in a 2 column layout. On the category pages, it is using the default display...1 product per row with the product name, price, short description, etc. I need the category pages to display with the product thumbnails and product name, price, and a detail button (more or less). Am I making this more complicated than it needs to be? |
Yea :) Try unchecking the box that says 'Display only Featured Products in multi-column format'
|
I really hope it is not that simple...I'd like to be smarter than that! :oops: lol
How do I set it for 2 columns on the featured items and--say--3 columns for the category level? |
You'd need to edit skin1/customer/main/featured.tpl. Make sure to make a backup copy first.
You can copy the column format code from the other tpls in your shop or there should be code here on the forums, too. |
I got it! \:D/ (Thanks to this thread: http://forum.x-cart.com/viewtopic.php?t=14995)
Because of other customizations, I had already separated my featured products display from my regular category products by creating customized products_featured.tpl and products_t_featured.tpl files. All I had to do was modify products_t.tpl file to be like this: Code:
{* $Id: products_t.tpl,v 1.10.2.8 2005/06/06 05:18:43 mclap Exp $ *} This line here controls the number of columns, just change the value=3 to the number of columns you want it displayed in: Code:
{assign var="cols" value=3} Also, this relies on the "Display only featured products list in multicolumn format" checkbox not being checked in the General Settings --> Appearance Options area of the admin. Thanks for all your help! |
ok...I thought I was done...
I just noticed that there is not pagination at the bottom to go to additional pages if there are more products than should be shown on the page. Can anyone tell me how/what I need to put in the file to get those page numbers include?
I know I have to put use an {if} statement to include customer/main/navigation.tpl, but I am not sure how to do it right. I know I've seen it all over the place at different times today...of course, I can't find it now when I need it. :( Thanks in advance for any help! |
All times are GMT -8. The time now is 02:45 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.