25
1 Magento2 Product Import/Export Benno Lippert cobby.io

Magento 2 product import export

Embed Size (px)

Citation preview

Page 1: Magento 2 product import export

1

Magento2Product Import/Export

Benno Lippert cobby.io

Page 2: Magento 2 product import export

2

- Benno Lippert -Founder

“Opportunities are to be found amidst difficulties.“

@bennolippert

Albert Einstein

Page 3: Magento 2 product import export

3

What‘s new?• Import History• Custom Options• Bundles• Downloadable• External images• Image attributes• New format

Page 4: Magento 2 product import export

4

What‘s new?Import History

Page 5: Magento 2 product import export

5

What‘s new?Import History

Page 6: Magento 2 product import export

6

What‘s new?Import History

• Restart import• Log what was changed

Ideas to improve

Page 7: Magento 2 product import export

7

What‘s new?New format

sku _type _attribute_set _product_websites name price description short_description qty …

attr1 attr2 attr3 attr4 attr5 attr6 attr7 attr8 … attr n

Old

+

Newsku store_view_code attribute_set_code product_type categorie

sproduct_websites +74 associated_sku

s

Page 8: Magento 2 product import export

8

What‘s new?New format

• 81 fixed columns• UTF 8• Fielddelimiter ,• Multidimensional |

Page 9: Magento 2 product import export

9

How do I import?Virtuals, Simples, Configurables, Grouped, Bundles, Custom Options,

Images, Productlinks

Page 10: Magento 2 product import export

10

How do I import?Virtuals / Simples

• sku• attribute_set_code• product_type• product_websites• name• price

sku attribute_set_code product_type product_websites name price

a Default virtual base Virtual 1.0000

Page 11: Magento 2 product import export

11

How do I import?Custom Attributes

additional_attributes• attrib_code• value

… additional_attributes …

"color=Green,activity=Gym|Hiking"

Page 12: Magento 2 product import export

12

How do I import?configurables

configurable_variations• sku• superAttribute

… configurable_variations …

“sku=WSH12-28-Green,color=Green,size=28|sku=WSH12-28-Purple,color=Purple,size=28|sku=WSH12-28-Red,color=Red,size=28“

configurable_variations• superAttribute• Label

… configurable_variation_labels …

“color=Color,size=Size”

Page 13: Magento 2 product import export

13

How do I import?configurables

Attention!• If the simple doesn‘t exits NO ERROR• Removing associated simples doesn‘t work• Backendproblem save configurable without simples

Page 14: Magento 2 product import export

14

How do I import?grouped

associated_skus• sku• Default Qty

… associated_skus …

"24-WG085=0.0000,24-WG086=0.0000,24-WG087=0.0000"

Atttention!• If the simple doesn‘t exits NO ERROR• Removing associated simples doesn‘t work

Page 15: Magento 2 product import export

15

How do I import?bundles

bundle_price_typebundle_sku_typebundle_price_viewbundle_weight_typebundle_values• name• type• required• sku• price• default_qty• price_type

… bundle_values …

"name=Sprite Stasis Ball,type=radio,required=1,sku=24-WG081-blue,price=0.0000,default=1,default_qty=1.0000, price_type=fixed|name=Sprite Stasis Ball,type=radio,required=1,sku=24-WG082-blue,price=0.0000,default=0,default_qty=1.0000, price_type=fixed|name=Sprite Stasis Ball,type=radio,required=1,sku=24-WG083-blue,price=0.0000,default=0,default_qty=1.0000, price_type=fixed"

Page 16: Magento 2 product import export

16

How do I import?custom_options

custom_options• name• type• required• sku• price• price_type• option_title

… custom_options …

"name=Group 1,type=drop_down, required=1,price=2.0000,price_type=fixed,sku=2,option_title=two|name=Group 1,type=drop_down, required=1,price=3.0000,price_type=fixed,sku=3,option_title=three"

Beim Export wird aktuell die Gruppenreihenfolge vertauscht

Page 17: Magento 2 product import export

17

How do I import?Images

base_imagebase_image_labelsmall_imagesmall_image_labelthumbnail_imagethumbnail_image_labelswatch_imageswatch_image_label

… []_image []_label …

"http://sub.server.tld/base-image.jpg" “Alt text for Base“

"base-image.jpg" “Alt text for Base“

/pub/media/import

Page 18: Magento 2 product import export

18

How do I import?Images

additional_images additional_image_labelshide_from_product_page

… additional_images additional_labels hide_from_product_page …

"img.jpg,img2.jpg" “Alt1,Alt2“ “img2.jpg“

/pub/media/import

Page 19: Magento 2 product import export

19

How do I import?Images

additional_attributes• attrib_code• Value = Image

… additional_attributes …

"cust_img_attr=http://sub.server.tld/base-image.jpg"

Page 20: Magento 2 product import export

20

How do I import?Images

Attention!• Setting a video as Base Image is impossible• Changing Base Image keep in mind to add it to the

additional images, otherwise it‘s gone

Page 21: Magento 2 product import export

21

How do I import?Productlinks

related_skuscrosssell_skusupsell_skus

… related_skus crosssell_skus upsell_skus …

„sku1,sku2" “sku3,sku4“ “sku5,sku6“

Page 22: Magento 2 product import export

22

How do I import?Tier prices

Separate Format

sku,tier_price_website,"ALL GROUPS",tier_price_customer_group, tier_price_qty,tier_price24-MB01,1,1,0,1.0000,100.000024-MB01,1,1,0,20.0000,90.000024-MB01,2,1,0,1.0000,200.000024-MB01,2,1,0,20.0000,180.0000

Page 23: Magento 2 product import export

23

How do I import?Downloadable

Not working at the moment!

Page 24: Magento 2 product import export

24

What else is not working?

Creation of new attribute optionsEmpty attribute values Only update on of multiple storeviews Video featureRemoving website associationProduct reviewsSuper attribut label feature is goneGroup Prices don‘t exist anymore

Page 25: Magento 2 product import export

Thanks

FINISH