techdivision / import-product-link Goto Github PK
View Code? Open in Web Editor NEWPacemaker library providing basic Magento 2 product link import functionality
Home Page: https://pacemaker.techdivision.com
License: MIT License
Pacemaker library providing basic Magento 2 product link import functionality
Home Page: https://pacemaker.techdivision.com
License: MIT License
We are using
https://github.com/magepal/magento2-link-product
to register a custom "accessory" type in Magento.
The standard importer supports such a custom type from Magento 2.4 onwards.
What steps are necessary in this module to support such a custom link type? Or will it just work by providing accessory_sku ?
How does the import of relations work?
We have a csv in the following format:
sku,related_skus,accessory_skus
When naming the csv "links_20200101_1.csv" and executing import:products
we get the following error:
Stop processing, because can't find the mandatory OK file to process at least one of 1 files
When naming the csv "product-import_20200101_1.csv" we get the following error:
Found invalid attribute set name "" in file product-import_20200101_1.csv on line 2
The above errors appear when using the default shortcut for ce/catalog_product/add-update
.
We tried to change the shortcut to only use the operation ce/catalog_product/add-update.links
and the filename "links_20200101_1.csv", then the command runs through but does not import the relation. Debug mode shows notices and warnings:
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 309
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 310
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 311
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 312
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 313
PHP Notice: Undefined index: globalData in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 314
PHP Warning: Invalid argument supplied for foreach() in vendor/techdivision/import-product/src/Subjects/AbstractProductSubject.php on line 848
PHP Notice: Undefined index: skuEntityIdMapping in vendor/techdivision/import-product-link/src/Subjects/LinkSubject.php on line 65
Successfully executed command import:products with serial b4a8b422-f88f-4d7d-9932-b5bc3c885989 in 00:00:00 s
Maybe as an operation param like clean-up-media-gallery
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.