Posted By

nico65 on 07/27/09


Tagged

special magento offer


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

umang_nine
luxmedia


Magento sonderangebote abfragen


 / Published in: PHP
 

URL: http://www.magentocommerce.com/boards/viewthread/31385/

abfragen ob ein Product ein Sonderangebot ist.

  1. <?php if (($_product->getSpecialPrice())): ?>
  2. <p><span><?php echo $this->__('Sparpreis!') ?></span></p>
  3. <?php endif; ?>
  4.  
  5. oder
  6.  
  7. <?php if (($_product->getSpecialPrice()) && ($specialFromDate <= $_now) && ($specialToDate > $_now)): ?>
  8. <?php echo $this->__('Sparpreis!') ?>
  9. <?php endif; ?>

Report this snippet  

You need to login to post a comment.