Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

More than 3 columns for product listing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-13-2005, 08:45 PM
 
dannyrus dannyrus is offline
 

Member
  
Join Date: Sep 2005
Posts: 18
 

Default 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
Reply With Quote
  #2  
Old 09-14-2005, 04:13 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just put 4 in the box
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-14-2005, 03:07 PM
 
dannyrus dannyrus is offline
 

Member
  
Join Date: Sep 2005
Posts: 18
 

Default

Tried that, it just reverts back to the original vertical listing down the page.
Reply With Quote
  #4  
Old 09-14-2005, 05:00 PM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

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
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #5  
Old 09-14-2005, 08:59 PM
 
dannyrus dannyrus is offline
 

Member
  
Join Date: Sep 2005
Posts: 18
 

Default

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...
Reply With Quote
  #6  
Old 09-15-2005, 03:49 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Doh! Sorry, I have removed that line of code from my templates and forgot that it was set to max of 3.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:57 PM.

   

 
X-Cart forums © 2001-2020