change description to short description field

Currently this module uses the "Description" field of the product information. Some of my products have a very long description and it doesn’t fit in the slideshow.

My Question:

How do i change it so that the slideshow module shows the info from the "Short Description" field of the product information?

Thanks!

5 answers

Profile photo of JA Developer 0.00 $tone March 25, 2010
Public

Hi jetproductions

Currently, this module does not support your idea but i have reported your idea to our team for developing in the next version

i will inform you when this option is done.

#3
Profile photo of Saguaros 0.00 $tone March 27, 2010
Public

Dear jetproductions!

Here is the solution to resolve this issue:

Please open the file:
\app\design\frontend\default\jm_rasitetemplate\jo omlart\jmslideshow\list_products.phtml

and try to find the following code:

PHP Code:

<?php echo nl2br($_product->getDescription()) ?>


and replace:

PHP Code:

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


or you would limit characters displayed:
You ‘ll replace by :

PHP Code:

<?php echo substr(nl2br($_product->getShortDescription()), 060).'...';?>



GOod luck

#5

Please login or Register to Submit Answer

Written By

Comments