1
votes

i try to add "short description" on my category list of my products but nothing happend on my list.phtml i try on: app/design/frontend/base/default/template/catalog/product/list.phtml

in my lit view are there this code: (and i copy this code to grid block but nothing happend)

 <div class="desc std">
                    <h1>test</h1>
                    <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
                    <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
                </div>
1

1 Answers

1
votes

Go to Catalog->Attributes->Manage attributes, search for the short_description attribute, edit it and set the field Used in product listing to Yes. Reindex everything and it should work.
[EDIT]
Or you can simply use this:

<?php echo $_product->getShortDescription();?>