Пример #1
0
 /**
  * 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;
 }
Пример #2
0
 /**
  * Get net FixedFee2
  *
  * @return float
  */
 public function getNetFixedFee2()
 {
     return \XLite\Logic\Price::getInstance()->apply($this, 'getFixedFee2', array(), 'net');
 }
Пример #3
0
 /**
  * Get display Price
  *
  * @return float
  */
 public function getDisplayPrice()
 {
     return \XLite\Logic\Price::getInstance()->apply($this, 'getNetPrice', array('taxable'), 'display');
 }