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)
-   -   How to adjust multicolumn format from 3 images to 4 across (https://forum.x-cart.com/showthread.php?t=18732)

mmoskva 12-17-2005 04:55 AM

How to adjust multicolumn format from 3 images to 4 across
 
Currently in my admin setting I can adjust my multicolumn format to display 3 images across horizontally, Can someone tell me how I can have 4 images display across horizontally.

balinor 12-17-2005 04:59 AM

Need to edit products_t.tpl and hard-code the number of columns.

mmoskva 12-17-2005 05:39 AM

Where do you hard code the number of columns, can you help me with that.

PhilJ 12-17-2005 01:14 PM

skin1/customer/main/products.tpl

change

Code:

$config.Appearance.products_per_row lt 4

to

Code:

$config.Appearance.products_per_row lt 5

you can then have 4 columns.

mmoskva 12-17-2005 02:31 PM

Thanks for your help

grajin 10-05-2006 10:25 AM

Re: How to adjust multicolumn format from 3 images to 4 across
 
this trick doesnt seem to work in 4.1

martin242 10-08-2006 01:12 PM

Re: How to adjust multicolumn format from 3 images to 4 across
 
It works. You just have to write the number 5 in the field "Display products list in multiple columns (1-3) (leave empty to use standard format): " under the appearance options.

grajin 10-09-2006 07:53 AM

Re: How to adjust multicolumn format from 3 images to 4 across
 
my bad, and THANKS!, Obviously I didnt think it through all the way, lol

liamb2001 04-03-2007 05:32 AM

Re: How to adjust multicolumn format from 3 images to 4 across
 
there is no line "$config.Appearance.products_per_row lt 4 " on mine ??

im using 4.16

plz help

PhilJ 04-04-2007 05:39 AM

Re: How to adjust multicolumn format from 3 images to 4 across
 
It is there, in line 6.
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 lte 5 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")}
{include file="customer/main/products_t.tpl" products=$products}



All times are GMT -8. The time now is 05:22 AM.

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