AvS_FastSimpleImport icon indicating copy to clipboard operation
AvS_FastSimpleImport copied to clipboard

Import Custom Products attributes

Open antonio2604 opened this issue 9 years ago • 3 comments

Hi i have custom product attributs in the shop. If I will import a article with custum attributes the attributes not saved. I dont now why in the category import with custum attributes its works.

Thanks for your help :)

antonio2604 avatar Mar 03 '16 19:03 antonio2604

What is wrong :((

antonio2604 avatar Mar 04 '16 09:03 antonio2604

Ok the normal Arrtibut Fields Text works ! I dont now why but it works :) Attributes with select true or fals dosn't work, i have install the field with this script.

$attribute8 = array( 'type' => 'int', 'label' => 'Test', 'input' => 'boolean', 'source' => 'eav/entity_attribute_source_boolean', 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL, 'visible' => true, 'required' => false, 'user_defined' => true, 'default' => '0', 'searchable' => false, 'filterable' => '1', 'comparable' => false, 'visible_on_front' => false, 'visible_in_advanced_search' => false, 'unique' => false );

and now i will select the attribut whit fast simple import unfortunately nothing happens.

$data = array(); $data[] = array( 'test' => 0, ); or

$data = array(); $data[] = array( 'test' => false, );

nothing works :(

Thanks for your help :)

antonio2604 avatar Mar 04 '16 11:03 antonio2604

Hi ok, for everyone, the magic word ist not true or false or 1, 0 no it is yes ore no $data = array(); $data[] = array( 'test' => 'yes', );

antonio2604 avatar Mar 04 '16 14:03 antonio2604