Products in row?

nonegiven

Avatar: nonegiven

2013-02-01 19:36

I do not know new versions and can not find this by a search. Standard template has 3 products in each row. Can someone point me where to change this please?

» Quick.Cart v6.x

Kam0200

Avatar: Kam0200

2013-02-01 23:05

Try to change in file:

core / products.php

$content .= '<li class="l'.( ( $i == ( $iCount - 1 ) ) ? 'L': $i + 1 ).' i'.( ( $i % 2 ) ? 0: 1 ).' column'.( ( $i % 3 ) ? 0: 1 ).'">

I have

$content .= '<li class="l'.( ( $i == ( $iCount - 1 ) ) ? 'L': $i + 1 ).' i'.( ( $i % 2 ) ? 0: 1 ).' column'.( ( $i % 4 ) ? 0: 1 ).'">


$i % 3 -> $i % 4

change 3 to 4 or more value, i do this on site http://www.fartuszki-danusia.pl

fartuszki http://www.fartuszki-danusia.pl

interkob

Avatar: interkob

2013-02-02 08:30

You have all you need in templates/default/style.css

Here you have:

/* standard products list (not columns) example:
#products .list li{position:relative;clear:both;width:96%;margin:5px 0;padding:5px 2% 10px;text-align:left;} */
#products .list li li{float:none;width:auto;margin-left:0px;padding:0;border-top:0px;text-align:left;}

Just delete the lines above and insert this one:

#products .list li{position:relative;clear:both;width:96%;margin:5px 0;padding:5px 2% 10px;text-align:left;}

proxweb

Avatar: proxweb

2016-03-24 17:40

Kolega: Kam0200 dobrze pisze. W pliku /core/products.php - około linii: 182. Sam 3 godziny spędziłem na tym forum żeby to znaleźć. Myślałem że mnie krew zaleje. Pozdrawiam.
Dla wyszukiwarki: "4, 5 produktów w liście na stronie"

Adam

Back to top
about us | contact