I'm using this module https://github.com/50x/Boolfly_ProductRelation to create custom additional relation in grouped products.

It works well except for the import functionality. I've tested import with customtype_skus column in CSV. The products are imported but the association is not done. Any help would be appreciated.

EDIT. I've already tried adding following code to di. XML as described in vendor/module-catalog-import-export/Model/Import/Product.php:228 "use DI for LinkProcessor class if you want to add additional types"

<type name="Magento\CatalogImportExport\Model\Import\Product\LinkProcessor">
            <argument name="linkNameToId" xsi:type="array">
                <item name="_customtype_" xsi:type="const">Boolfly\ProductRelation\Model\Catalog\Product\Link::LINK_TYPE_CUSTOMTYPE</item>

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.