0

I have created a custom import. Model is already created and linked.

In adminhtml I want to add a dropdown in the 'Import behaviors' only for my custom import. My dropdown will contain all my stores. Please find an example : Import

The red rectangle is what I want to add. If an other 'Entity type' is selected the dropdown will disappear.

Not mandatory but it should be better if I also remove the 'fields enclosure' checkbox.

What will be the cleaniest/easiest way to do it ?

I have checked the vendor/magento/module-import-export/Block/Adminhtml/Import/Edit/Form.php which contains the form datas, but I don't think that a plugin on it the best solution.

Thank you

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.