![]() |
More than 3 columns product display
I have used appearance options to get a 3 column display. But I want a 5 column display, how is this possible?
|
Re: More than 3 columns product display
In skin1/customer/main/products.tpl
change... Code:
$config.Appearance.products_per_row lt 4 Code:
$config.Appearance.products_per_row lt 6 |
Re: More than 3 columns product display
Thanks, however it didn't work. My appearance options are set to 0 columns and products.tpl now looks like:
$config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 6 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")} Any ideas on what else I need to do? |
Re: More than 3 columns product display
Well you would also need to change your appearance options to 5 :)
|
Re: More than 3 columns product display
Cheers thanks, I thought I had already tried it and it didn't work. Works fine this time though.
|
Re: More than 3 columns product display
Quote:
I'm trying to troubleshoot why, when I have appearance set to 3, I still get only one column. I think it's because of the skin I'm using. I like this skin otherwise so I'm wondering where in this template this code should go? Thanks |
Re: More than 3 columns product display
What skin would that be?
|
Re: More than 3 columns product display
7Dana's Blue
http://www.7dana.com/shop/X-Cart-7Blue-p-28.html The category page has stylized rows of alternating colors. |
Re: More than 3 columns product display
Going to need to ask 7dana about that, as I doubt they want you posting their code here :)
|
Re: More than 3 columns product display
All I wanted was to know where it normally goes. Didn't plan to post proprietary code.
Thanks |
Re: More than 3 columns product display
As mentioned above, the control is in customer/main/products.tpl. IT basically checks to see what the number of columns is set to in the config settings. If it is more than 1, it goes to products_t.tpl, if not, it displays products.tpl
|
Re: More than 3 columns product display
Thanks. Problem is resolved. Was a dumb error on my part.
|
Re: More than 3 columns product display
Quote:
Hi Balinor, I opened a new thread for this question, just now I found your answer in some other thread. I did that code change to 5 in products.tpl and in the appearance options, it takes only upto 3, if I give 4 or more, it says invalid data entry. can you help me with this. Thanks |
Re: More than 3 columns product display
Quote:
no need. duplicate thread deleted. |
Re: More than 3 columns product display
I have used this trick many times in the past, but it seems that it doesn't work in 4.1.10. When I try to enter the # of columns that I want in the general settings it says that it's an invalid entry. Has anyone found a way around this?
|
Re: More than 3 columns product display
I managed to do this, you just need do the change in database after modifying the products.tpl file. It works.
If you want to get the control from admin, then, do the code change as in point 1 above,
|
Re: More than 3 columns product display
Thank you! :)
|
Re: More than 3 columns product display
I manged to change the settings in the database, but the products.tpl in 4.2.1 does not let you change the number of rows...take a look:
Quote:
|
Re: More than 3 columns product display
Sorry...that was the products-t.tpl....here is the products.tpl
Quote:
|
All times are GMT -8. The time now is 07:36 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.