Username or Email
Password:
Forgot Password
Hi!
Hat wer ne Ahnung, wie man in der Gitteransicht nur 3 Produkte pro Zeile anzeigen lassen kann?
Vielen dank vorab! sensor
/catalog/product/list.phtml
<?php // Grid Mode ?><div class="listing-type-grid catalog-listing"> <!-- the class name will change to .listing-type-cell if viewing in list mode --><?php $_collectionSize = $_productCollection->count() ?> <table cellspacing="0" class="generic-product-grid" id="product-list-table"> <?php $i=0; foreach ($_productCollection as $_product): ?> <?php if ($i++%3==0): ?> <tr> <?php endif ?> <td> <p class="product-image"> <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_prod
da ist eine zeile
<?php if ($i++%3==0): ?>
hier das %3 in %2 ändern—achtung - das kommt weiter unten NOCH ein paar mal - dort dann auch ändern!!!
das wärs dann schon.
LG Rico
Corporate: buro71a.de Private: riconeitzel.de
Hinweis: Kein Support per PM, ICQ oder E-Mail, bitte nutzt das Forum!
Notice: No support via PM, ICQ or email. Please take a look at the forums
Super! Danke!
Gruss Sensor
Hallo,
ist dieser Tipp noch aktuell ?
Ich nutze Magento 1.42 und das BLANK Theme ?
Ginge das inzwischen vielleicht auch über ein Layout-Update für nur eine Kategorie ??
Vielen Dank !
Never touch a running system !
Magento 1.5.1.0. BLANK THEME | Mac OSX 10.68 | Safari 5.05 | Firefox 5.0
Bei mir (1.4.1.1) half die action leider nicht. Ich hab dann dieses:
<?php $_columnCount = $this->getColumnCount(); ?>
zu diesem geändert:
<?php $_columnCount = 4; ?>
Bei mir war es die new.phtml (template/catalog/product) die angepasst werden sollte.