avstudnitz / AvS_FastSimpleImport

Wrapper for Magento ImportExport functionality, which imports products and customers from arrays
306 stars 146 forks source link

Import custom attributes. #399

Closed Triyugi closed 7 years ago

Triyugi commented 7 years ago

I am using Mageworx Advanced Product Option. This plugin generates some custom fields which when I am trying to import but not success.

When I am using following line, import exits without throwing any error:

'_custom_option_template_id' => 1

sprankhub commented 7 years ago

Is this attribute a normal product attribute from eav_attribute? Then this should work, although I think you need to skip the underscore for your custom attributes. Mind that you may need to enable the auto creation of attribute values for this attribute as well.

Triyugi commented 7 years ago

@sprankhub Thanks, I have resolved that issue by defining all custom fields in import model.

IonutGorgos commented 7 years ago

Hello @Triyugi,

How you defined all custom fields in import model and where? Thanks.