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

Display Featured Products 4 to 5 Rows instead of 3

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-24-2003, 03:57 AM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default Display Featured Products 4 to 5 Rows instead of 3

Hi,
Is there a way to set up featured products on main page to be set up 4 to 5 colums, so there should be 5 products in a row or 4 products in a row. At present it allows to set 0-3 products per row from administration area, I want it 0-5.

Thanks.
Reply With Quote
  #2  
Old 08-27-2003, 03:18 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

change the first line of products.tpl from

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")}

to

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 6 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")}
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 08-27-2003, 03:46 AM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default .

hum, I tried that but not working.

From general setting I have choose 3 products per row option to display featured products and also display 3 products per row in browse products area.

3 products per row is not bad in small resolution monitor but on wide screen there is too much empty space looks up I just want to make like 4 or 4 products per row.
Reply With Quote
  #4  
Old 08-28-2003, 03:31 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default

Works fine for me, cheers Funkydunk
Reply With Quote
  #5  
Old 08-28-2003, 03:41 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

my pleasure
__________________
ex x-cart guru
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 02:00 PM.

   

 
X-Cart forums © 2001-2020