Esempio n. 1
0
 /**
  * Changed to support price attribute type multi-scope
  * (non-PHPdoc)
  * @param Mage_Eav_Model_Entity_Attribute $attribute
  * @see Mage_Test_Model_Mysql4_Fixture_Eav_Catalog_Abstract::_getAttributeRecords()
  */
 protected function _getAttributeRecords($row, $attribute, $tableColumns)
 {
     if ($attribute->getFrontendInput() == 'price') {
         $attribute->setIsGlobal(Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_WEBSITE);
     }
     return parent::_getAttributeRecords($row, $attribute, $tableColumns);
 }