Exemplo n.º 1
0
 public function testIsAddFilterableAttributesDefault()
 {
     $this->assertEquals(0, $this->_helper->isAddFilterableAttributes());
 }
Exemplo n.º 2
0
 /**
  * Is original attribute enabled for flat indexing
  *
  * @return bool
  */
 protected function _isOriginalEnabledInFlat()
 {
     return $this->getOrigData('backend_type') == 'static' || $this->_productFlatIndexerHelper->isAddFilterableAttributes() && $this->getOrigData('is_filterable') > 0 || $this->getOrigData('used_in_product_listing') == 1 || $this->getOrigData('used_for_sort_by') == 1;
 }