Upload
nils-preuss
View
25
Download
0
Embed Size (px)
Citation preview
CURRENT STATE OF IMPORT INMAGENTO
Differences between Magento 1 & 2 and options toworkaround
NILS PREUSSMagento since 2009Technical lead ecommercePolo Motorrad & Sportswear GmbHTwitter: Github:
@tutnixhttps://github.com/nhp
MAGENTO 1CE 1.5model-apiimport/exportsoap/rest-api
MODEL-APIslowslowcalls save()events dispatched
IMPORT/EXPORTcsv basedone value per ROWnot erverything importableonly from admin-backend
SOAP/REST APIeven sloweruses model-api internally
ALTERNATIVESMySQL-Data-Pumps (e.g. Magmi)wrappers around import/export
https://github.com/avstudnitz/AvS_FastSimpleImport
https://github.com/ho-nl/Ho_Import
many more
MAGENTO 2model-apiSOAP/REST-apiimport/export
MODEL/SOAP/REST-APIway fasterstill slower than M1 import/export
IMPORT/EXPORTcsvmany improvements81 fixed columnsstill not fully workingnot automatable by default
GENERAL IMPROVEMENTSExternal imagesBundled productsCustom AttributesImage attributesCustom options
CSV-FORMAT IMPROVEMENTSone line per skuUTF-8 supportmultiple values per attribute per field delimited by |multiple attributes per field, delimited by ,
CUSTOM ATTRIBUTES... ,additional_attributes, ... ... ,"taste=salty,package=2pcs|4pcs", ...
BUNDLED PRODUCTS bundle_price_type bundle_price_view bundle_sku_type bundle_weight_type bundle_values - type - name - sku - required - price - price-type - default-qty
EXAMPLE ,bundle_values, ,"name=Fork Spring,type=radio,required=1,sku=7091209, price=0.0000,default=1,default_ qty=1.0000, price_type=fixed| name=Fork Spring,type=radio,required=1,sku=7091208, price=0.0000,default=0,default_ qty=1.0000, price_type=fixed" ,
CUSTOM OPTIONScustom_options"name=Opt1,type=drop_down,sku=1,required=0,price=3.5000, option_title=foo|name=Opt2,type=drop_down,sku=2, required=1,price=0.03,option_title=bar"
PITFALLSno errors if linked SKU is non-existentremoving links/associations does not work (still an issuewith saving empty fields)slower than M1 Import/export
STILL MISSING STUFFdownloadablesvideosempty attributesno attribute/attribute option creation
OPTIONS FOR IMPROVING THESITUATION
automate the csv import
make it easier to bypass pure csv (add some formatdetection/selection)fixing problems by enabling import of stuff soexport>import yields correct dataextend the current import to add new options of what toimport (entities)allow import of attributes/options (step on its own)
https://github.com/firebearstudio/importexport
FASTSIMPLEIMPORT 2replace csv files with data arraysdemo module as tutorial how the array should look likeimprove functionality in FastSimpleExtenderhttps://github.com/firegento/FireGento_FastSimpleImport2
FAST SIMPLE EXTENDERseperate format from functionalitynew functionality will be added herevery early stagehttps://github.com/firegento/FireGento_ExtendedImport2
RESOURCEhttps://github.com/firebearstudio/importexport
https://github.com/firegento/FireGento_FastSimpleImport2https://github.com/firegento/FireGento_ExtendedImport2
ANSWERS