Пример #1
0
 protected function _applyPriceRange()
 {
     if (version_compare(Mage::getVersion(), '1.12.0.0', '>=')) {
         if (Mage::helper('adjnav')->isSolrEnabled()) {
             list($from, $to) = $this->getInterval();
             $this->getLayer()->getProductCollection()->addFqFilter(array($this->_getFilterField() => $this->_prepareFacetRange($from, $to)));
             return $this;
         } else {
             return parent::_applyPriceRange();
         }
     }
 }