![]() |
More than 3 columns for product listing
Within the admin > general settings > appearance options it allows to have 1, 2 or 3 columns for product display - is it possible to have more, like 4 or 5 columns??
Thankyou!! Using X-Cart Gold 4.0.14 |
Just put 4 in the box :)
|
Tried that, it just reverts back to the original vertical listing down the page.
|
you need to modify the template to have more than that, it's been created for between 1 to 3, the tpl to alter would be skin1/customer/products_t.tpl
|
Thanks guys - for anyone else who wants to know how to do it:
customer / main / products.tpl - near the top of the page, find "$config.Appearance.products_per_row lt 4" (less than 4 - for 3 rows) and change to lt 6 (for 5 rows) etc. then in admin / general / appearance, change the number of columns to match. Next question: Is there a way to have the "TD" containing the product info set to a fixed width, instead of a % of 100, then have them wrap to the next line if they don't fit?? Such as what is done on the creatas.com website. The reason is that I am building a similar site to creatas, and I'd like to be able to use thumbnails either portrait or landscape and not have the "TD" have to expand to fit the thumbnail - I'd like to not have to set a width for the thumbnail, rather have the "TD"s width determine that and squeeze the thumbnail in, so that all thumbnails are the same proportion... If that makes sense...?? Thanks for any help... |
Doh! Sorry, I have removed that line of code from my templates and forgot that it was set to max of 3.
|
All times are GMT -8. The time now is 08:49 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.