View Single Post
  #13  
Old June 7th, 2012, 09:45 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Sure, just extend the if() statement:

PHP Code:
<?php if (trim($s->coupon_info($product'code')) != '') : ?>
    [coupon.code]
<?php elseif (trim($s->coupon_info($product'end')) != '') : ?>
    [coupon.end]
<?php endif; ?>