Skip to content

Instantly share code, notes, and snippets.

@zeljkoprsa
Created March 30, 2012 10:54
Show Gist options
  • Save zeljkoprsa/c425421bdad95f3ada2a to your computer and use it in GitHub Desktop.
Save zeljkoprsa/c425421bdad95f3ada2a to your computer and use it in GitHub Desktop.
Short description stripped
<?php $_shortDescriptionStripped = $this->stripTags($_product->getShortDescription(), null , true); ?>
<?php echo Mage::helper('core/string')->truncate($_shortDescriptionStripped, '280') ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment