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

Featured Products Column Count

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-14-2012, 02:38 AM
  SamsonWebDesign's Avatar 
SamsonWebDesign SamsonWebDesign is offline
 

Senior Member
  
Join Date: Oct 2008
Location: East Sussex, UK
Posts: 101
 

Default Featured Products Column Count

I'm creating a store at the moment in 4.4.5 and have the products showing 4 across in the categories which is controlled via the appearance setting in admin.

I want the featured products on the homepage to show 6 across.

Does anyone know how to change JUST the featured products to show 6 across rather than using the default in admin?
__________________
Versions 4.1.11 to 4.6.4 ... when will the new versions end!

Custom X-Cart driven e-commerce sites, skins and installations at www.samsonwebdesign.co.uk
Reply With Quote
  #2  
Old 06-14-2012, 02:50 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default Re: Featured Products Column Count

There should be a setting below that which limits the column format to just Featured Products:
Display only featured products list in multicolumn format

Or are you asking to have FPs at 6, and everything else in 4 columns?
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 06-14-2012, 02:58 AM
  SamsonWebDesign's Avatar 
SamsonWebDesign SamsonWebDesign is offline
 

Senior Member
  
Join Date: Oct 2008
Location: East Sussex, UK
Posts: 101
 

Default Re: Featured Products Column Count

Quote:
Originally Posted by pauldodman
There should be a setting below that which limits the column format to just Featured Products:
Display only featured products list in multicolumn format

Or are you asking to have FPs at 6, and everything else in 4 columns?

Yes, everything else at 4 and JUST featured products at 6. Everything is in multicolumn format.
__________________
Versions 4.1.11 to 4.6.4 ... when will the new versions end!

Custom X-Cart driven e-commerce sites, skins and installations at www.samsonwebdesign.co.uk
Reply With Quote
  #4  
Old 06-14-2012, 05:29 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default Re: Featured Products Column Count

OK, well your best bet then would be to create and call a 2nd template for either the FPs or the normal products.
In one of them, hard code it to show the columns you want, and leave the other to use the admin setting.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #5  
Old 06-14-2012, 05:32 AM
  SamsonWebDesign's Avatar 
SamsonWebDesign SamsonWebDesign is offline
 

Senior Member
  
Join Date: Oct 2008
Location: East Sussex, UK
Posts: 101
 

Default Re: Featured Products Column Count

Yes, That was our thoughts on it but what we lack is the know how to have the new template use 6 columns instead of 4!
__________________
Versions 4.1.11 to 4.6.4 ... when will the new versions end!

Custom X-Cart driven e-commerce sites, skins and installations at www.samsonwebdesign.co.uk
Reply With Quote
  #6  
Old 06-14-2012, 05:52 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default Re: Featured Products Column Count

Well in products_t.tpl, simply replace all (probably 2) instances of:
$config.Appearance.products_per_row
with
6
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
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 07:19 AM.

   

 
X-Cart forums © 2001-2020