X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Display Featured Products 4 to 5 Rows instead of 3 (https://forum.x-cart.com/showthread.php?t=4106)

jeeya 08-24-2003 03:57 AM

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.

funkydunk 08-27-2003 03:18 AM

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

jeeya 08-27-2003 03:46 AM

.
 
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.

PhilJ 08-28-2003 03:31 AM

Works fine for me, cheers Funkydunk

funkydunk 08-28-2003 03:41 AM

my pleasure :)


All times are GMT -8. The time now is 09:49 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.