View Single Post
  #5  
Old February 7th, 2012, 07:01 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

You have access to the following variables within a Product detail or Product list module:

PHP Code:
$s->coupon_info($product'code');
$s->coupon_info($product'begin');
$s->coupon_info($product'end');
$s->coupon_info($product'restrictions'); 
Those are coupon code, coupon begin date, coupon end date and any coupon restrictions.

You can use those values in your own PHP conditionals.

Eric