2017 © Pedro Peláez
 

magento-module module-multiselect-attribute-fix

Fixes Multiselect attributes indexing issues

image

coisio/module-multiselect-attribute-fix

Fixes Multiselect attributes indexing issues

  • Friday, May 19, 2017
  • by rootindex
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,481 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

Magento Multi-select Attribute Indexing Fix

Please note when you run a custom attribute of multiselect & text to be saved on the flat table:, (*1)

You have to tell the indexer about the flat table column., (*2)


public function getFlatColums() { $attributeCode = $this->getAttribute()->getAttributeCode(); $column = array( 'default' => null, 'extra' => null ); if (Mage::helper('core')->useDbCompatibleMode()) { $column['type'] = 'varchar(255)'; $column['is_null'] = true; } else { $column['type'] = Varien_Db_Ddl_Table::TYPE_VARCHAR; $column['nullable'] = true; $column['comment'] = $attributeCode . ' column'; } return array($attributeCode => $column); }

The Versions

19/05 2017

dev-master

9999999-dev

Fixes Multiselect attributes indexing issues

  Sources   Download

MIT

by Francois Raubenheimer

19/05 2017

1.0.0

1.0.0.0

Fixes Multiselect attributes indexing issues

  Sources   Download

MIT

by Francois Raubenheimer