コード例 #1
0
ファイル: Decimal.php プロジェクト: victorkho/telor
 public function addFacetCondition()
 {
     if ($this->calculateRanges()) {
         parent::addFacetCondition();
     }
 }
コード例 #2
0
ファイル: Decimal.php プロジェクト: rcclaudrey/dev
 public function addFacetCondition()
 {
     if (!$this->calculateRanges()) {
         return false;
     }
     $code = $this->getAttributeModel()->getAttributeCode();
     $key = 'amshopby_facet_added_' . $code;
     if (Mage::registry($key)) {
         return;
     }
     parent::addFacetCondition();
     Mage::register($key, true);
 }