Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 /**
  * Return list of allowed targets
  * 
  * @return array
  */
 public static function getAllowedTargets()
 {
     $targets = parent::getAllowedTargets();
     $targets[] = 'order';
     return $targets;
 }