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

More than 3 columns?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-15-2005, 06:42 PM
 
Vern Vern is offline
 

Member
  
Join Date: Aug 2005
Posts: 18
 

Default More than 3 columns?

I have searched through both the manual and forum looking to find a way to expand the columns to more than three.

I would like to use x-cart for a photography shopping cart. Everything is visual with the arts, so having less navigation and buy now stuff on the products page is achievable. What I havenБ─≥t found was a way to put 6 columns or even have it variable depending on the users screen resolution.
__________________
Version 4.0.14 and UNIX
Reply With Quote
  #2  
Old 10-15-2005, 09:28 PM
  kpayne's Avatar 
kpayne kpayne is offline
 

X-Adept
  
Join Date: Dec 2002
Location: Firetanksoftware.com
Posts: 469
 

Default

First, set the "products per row" in your appearance preferences. Then you need to edit skin1/customer/main/products.tpl, find this code:

Code:
{if $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 4 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")}

And change it to this:

Code:
{if $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 100 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")}

The cart checks to make sure you do not have less than one or more than three columns. This code change makes it check for between 1 and 99 columns.

(This is untested, but should work with no problems)
__________________
X-cart Featured Products Manager from http://www.firetanksoftware.com - Put your products where you want, how you want.
Reply With Quote
  #3  
Old 10-16-2005, 12:57 PM
 
Vern Vern is offline
 

Member
  
Join Date: Aug 2005
Posts: 18
 

Default

This is one step closer to making the site a reality.

I have to say what makes xcart so good is its flexibility and the people who support it. I have used Miva, OSCommerce, and xcart on other sites, and xcart takes the cake!

Thank you
__________________
Version 4.0.14 and UNIX
Reply With Quote
  #4  
Old 02-25-2006, 04:28 PM
 
Lionel Lionel is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 199
 

Default

is it possible to have that four columns just for search results, and everything else remains at 3 columns?
__________________
X-Cart Gold 4.0.17 [unix]
X-Cart Gold 4.0.18 [unix]
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 03:03 AM.

   

 
X-Cart forums © 2001-2020