예제 #1
0
 /**
  * Check - can apply this modifier or not
  *
  * @return boolean
  */
 public function canApply()
 {
     return parent::canApply() && $this->hasDiscount();
 }
예제 #2
0
 /**
  * Check - can apply this modifier or not
  *
  * @return boolean
  */
 public function canApply()
 {
     return parent::canApply() && $this->checkCoupons();
 }