/** * Define modifiers * * @return array */ protected function defineModifiers() { $modifiers = parent::defineModifiers(); foreach ($modifiers as $i => $modifier) { if (0 === strpos($modifier->getClass(), 'XLite\\Module\\CDev\\Sale\\')) { unset($modifiers[$i]); } } return $modifiers; }
/** * Get net FixedFee2 * * @return float */ public function getNetFixedFee2() { return \XLite\Logic\Price::getInstance()->apply($this, 'getFixedFee2', array(), 'net'); }
/** * Get display Price * * @return float */ public function getDisplayPrice() { return \XLite\Logic\Price::getInstance()->apply($this, 'getNetPrice', array('taxable'), 'display'); }