evolution of import

23
CURRENT STATE OF IMPORT IN MAGENTO Differences between Magento 1 & 2 and options to workaround

Upload: nils-preuss

Post on 12-Feb-2017

26 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Evolution of import

CURRENT STATE OF IMPORT INMAGENTO

Differences between Magento 1 & 2 and options toworkaround

Page 2: Evolution of import

NILS PREUSSMagento since 2009Technical lead ecommercePolo Motorrad & Sportswear GmbHTwitter: Github:

@tutnixhttps://github.com/nhp

Page 3: Evolution of import

MAGENTO 1CE 1.5model-apiimport/exportsoap/rest-api

Page 4: Evolution of import

MODEL-APIslowslowcalls save()events dispatched

Page 5: Evolution of import

IMPORT/EXPORTcsv basedone value per ROWnot erverything importableonly from admin-backend

Page 6: Evolution of import

SOAP/REST APIeven sloweruses model-api internally

Page 7: Evolution of import

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

Page 8: Evolution of import

MAGENTO 2model-apiSOAP/REST-apiimport/export

Page 9: Evolution of import

MODEL/SOAP/REST-APIway fasterstill slower than M1 import/export

Page 10: Evolution of import

IMPORT/EXPORTcsvmany improvements81 fixed columnsstill not fully workingnot automatable by default

Page 11: Evolution of import

GENERAL IMPROVEMENTSExternal imagesBundled productsCustom AttributesImage attributesCustom options

Page 12: Evolution of import

CSV-FORMAT IMPROVEMENTSone line per skuUTF-8 supportmultiple values per attribute per field delimited by |multiple attributes per field, delimited by ,

Page 13: Evolution of import

CUSTOM ATTRIBUTES... ,additional_attributes, ... ... ,"taste=salty,package=2pcs|4pcs", ...

Page 14: Evolution of import

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

Page 15: Evolution of import

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" ,

Page 16: Evolution of import

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"

Page 17: Evolution of import

PITFALLSno errors if linked SKU is non-existentremoving links/associations does not work (still an issuewith saving empty fields)slower than M1 Import/export

Page 18: Evolution of import

STILL MISSING STUFFdownloadablesvideosempty attributesno attribute/attribute option creation

Page 19: Evolution of import

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

Page 20: Evolution of import

FASTSIMPLEIMPORT 2replace csv files with data arraysdemo module as tutorial how the array should look likeimprove functionality in FastSimpleExtenderhttps://github.com/firegento/FireGento_FastSimpleImport2

Page 21: Evolution of import

FAST SIMPLE EXTENDERseperate format from functionalitynew functionality will be added herevery early stagehttps://github.com/firegento/FireGento_ExtendedImport2

Page 22: Evolution of import

RESOURCEhttps://github.com/firebearstudio/importexport

https://github.com/firegento/FireGento_FastSimpleImport2https://github.com/firegento/FireGento_ExtendedImport2

Page 23: Evolution of import

ANSWERS