O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Evolution of import

39 visualizações

Publicada em

Between Magento1 and Magento2 not so much has changed regarding the importability of product data, but it is the small detail that counts.

Publicada em: Tecnologia
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

Evolution of import

  1. 1. CURRENT STATE OF IMPORT IN MAGENTO Differences between Magento 1 & 2 and options to workaround
  2. 2. NILS PREUSS Magento since 2009 Technical lead ecommerce Polo Motorrad & Sportswear GmbH Twitter: Github: @tutnix https://github.com/nhp
  3. 3. MAGENTO 1 CE 1.5 model-api import/export soap/rest-api
  4. 4. MODEL-API slow slow calls save() events dispatched
  5. 5. IMPORT/EXPORT csv based one value per ROW not erverything importable only from admin-backend
  6. 6. SOAP/REST API even slower uses model-api internally
  7. 7. ALTERNATIVES MySQL-Data-Pumps (e.g. Magmi) wrappers around import/export https://github.com/avstudnitz/AvS_FastSimpleImport https://github.com/ho-nl/Ho_Import many more
  8. 8. MAGENTO 2 model-api SOAP/REST-api import/export
  9. 9. MODEL/SOAP/REST-API way faster still slower than M1 import/export
  10. 10. IMPORT/EXPORT csv many improvements 81 fixed columns still not fully working not automatable by default
  11. 11. GENERAL IMPROVEMENTS External images Bundled products Custom Attributes Image attributes Custom options
  12. 12. CSV-FORMAT IMPROVEMENTS one line per sku UTF-8 support multiple values per attribute per field delimited by | multiple attributes per field, delimited by ,
  13. 13. CUSTOM ATTRIBUTES ... ,additional_attributes, ... ... ,"taste=salty,package=2pcs|4pcs", ...
  14. 14. 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
  15. 15. 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" ,
  16. 16. CUSTOM OPTIONS custom_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"
  17. 17. PITFALLS no errors if linked SKU is non-existent removing links/associations does not work (still an issue with saving empty fields) slower than M1 Import/export
  18. 18. STILL MISSING STUFF downloadables videos empty attributes no attribute/attribute option creation
  19. 19. OPTIONS FOR IMPROVING THE SITUATION automate the csv import make it easier to bypass pure csv (add some format detection/selection) fixing problems by enabling import of stuff so export>import yields correct data extend the current import to add new options of what to import (entities) allow import of attributes/options (step on its own) https://github.com/firebearstudio/importexport
  20. 20. FASTSIMPLEIMPORT 2 replace csv files with data arrays demo module as tutorial how the array should look like improve functionality in FastSimpleExtender https://github.com/firegento/FireGento_FastSimpleImport2
  21. 21. FAST SIMPLE EXTENDER seperate format from functionality new functionality will be added here very early stage https://github.com/firegento/FireGento_ExtendedImport2
  22. 22. RESOURCE https://github.com/firebearstudio/importexport https://github.com/firegento/FireGento_FastSimpleImport2 https://github.com/firegento/FireGento_ExtendedImport2
  23. 23. ANSWERS