コード例 #1
0
ファイル: Price.php プロジェクト: rcclaudrey/dev
 public function addFacetCondition()
 {
     if (!$this->calculateRanges()) {
         return;
     }
     if (Mage::registry('amshopby_facet_added_price')) {
         $this->_facets = Mage::registry('amshopby_facet_added_price');
     } else {
         parent::addFacetCondition();
         Mage::register('amshopby_facet_added_price', $this->_facets);
     }
 }
コード例 #2
0
ファイル: Price.php プロジェクト: nilshopsahl/hasla.local
 public function _construct()
 {
     parent::_construct();
 }
コード例 #3
0
ファイル: Price.php プロジェクト: victorkho/telor
 public function getItemsCount()
 {
     $cnt = parent::getItemsCount();
     $checkForOne = $this->calculateRanges() && Mage::getStoreConfig('amshopby/general/hide_one_value');
     return $cnt == 1 && $checkForOne ? 0 : $cnt;
 }