Example #1
0
 /**
  * Return list of allowed targets
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $targets = parent::getAllowedTargets();
     $targets[] = 'order';
     if (!\XLite::isAdminZone()) {
         $targets[] = 'checkoutSuccess';
     }
     return $targets;
 }
Example #2
0
 /**
  * Return list of allowed targets
  * 
  * @return array
  */
 public static function getAllowedTargets()
 {
     $targets = parent::getAllowedTargets();
     $targets[] = 'order';
     return $targets;
 }