Ejemplo n.º 1
0
 public function addFacetCondition()
 {
     if ($this->calculateRanges()) {
         parent::addFacetCondition();
     }
 }
Ejemplo n.º 2
0
 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);
 }