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