macopedia / magmi-m2

Magmi GitHub, see branch magento2 for a version compatible with Magento 2
113 stars 53 forks source link

Hi Team we are trying to upload the configurable products but the products mapping and category assignment not hppening. Can you please provide the sample csv for product upload with magento 2. #30

Open deepalikalasva opened 6 years ago

deepalikalasva commented 6 years ago

@tmotyl @mwojcieszak @drashmk @tgrzemski @cieslix

// Provide a general summary of the issue in the Title above

Preconditions

// Provide a more detailed information about you Magento, Apache2/nginx, PHP & MySQL version // Provide example CSV file to help us reproduce your issue

  1. sku,product_type,content_weight,configurable_variations,configurable_variation_labels,additional_attributes,brand_name,ecom_length,ecom_breadth,ecom_height,store_view_code,attribute_set,categories,product_websites,name,description,short_description,weight,tax_class_name,visibility,price,special_price,special_price_from_date,special_price_to_date,url_key,meta_title,meta_keywords,meta_description,base_image,base_image_label,small_image,small_image_label,thumbnail_image,thumbnail_image_label,swatch_image,swatch_image_label,created_at,updated_at,new_from_date,new_to_date,display_product_options_in,map_price,msrp_price,map_enabled,gift_message_available,custom_design,custom_design_from,custom_design_to,custom_layout_update,page_layout,product_options_container,msrp_display_actual_price_type,country_of_manufacture,qty,out_of_stock_qty,use_config_min_qty,is_qty_decimal,allow_backorders,use_config_backorders,min_cart_qty,use_config_min_sale_qty,max_cart_qty,use_config_max_sale_qty,is_in_stock,notify_on_stock_below,use_config_notify_stock_qty,manage_stock,use_config_manage_stock,use_config_qty_increments,qty_increments,use_config_enable_qty_inc,enable_qty_increments,is_decimal_divided,website_id,related_skus,related_position,crosssell_skus,crosssell_position,upsell_skus,upsell_position,additional_images,additional_image_labels,hide_from_product_page,custom_options,bundle_price_type,bundle_sku_type,bundle_price_view,bundle_weight_type,bundle_values,bundle_shipment_type,associated_skus test-100 Grams,simple,100 Grams,,,"content_weight=100 Grams, show_countdown=Yes, sw_featured=No",Barrix Agro Sciences Pvt Ltd,10,5,10,,Seeds,Default Category/Agriculture,base,test-100 Grams,test-100 Grams,test-100 Grams,0.5,tax_class_12,Not Visible Individually,140,,,,,test,test,test ,,,,,,,,,,,,,Block after Info Column,,,,Use config,Selena3,,,,,,Use config,,97,0,1,0,0,1,1,1,10000,1,1,1,1,1,1,1,1,1,0,0,0,,,,,,,,,,,,,,,,, test-250 Grams,simple,250 Grams,,,"content_weight=250 Grams, show_countdown=Yes, sw_featured=No",Barrix Agro Sciences Pvt Ltd,10,5,10,,Seeds,Default Category/Agriculture,base,test-250 Grams,test-250 Grams,test-250 Grams,0.5,tax_class_12,Not Visible Individually,340,,,,,test,test,test ,,,,,,,,,,,,,Block after Info Column,,,,Use config,Selena3,,,,,,Use config,,248,0,1,0,0,1,1,1,10000,1,1,1,1,1,1,1,1,1,0,0,0,,,,,,,,,,,,,,,,, test-500 Grams,simple,500 Grams,,,"content_weight=500 Grams, show_countdown=Yes, sw_featured=No",Barrix Agro Sciences Pvt Ltd,10,5,10,,Seeds,Default Category/Agriculture,base,test-500 Grams,test-500 Grams,test-500 Grams,0.5,tax_class_12,Not Visible Individually,660,,,,,test,test,test ,,,,,,,,,,,,,Block after Info Column,,,,Use config,Selena3,,,,,,Use config,,498,0,1,0,0,1,1,1,10000,1,1,1,1,1,1,1,1,1,0,0,0,,,,,,,,,,,,,,,,, test-1000 Grams,simple,1000 Grams,,,"content_weight=1000 Grams, show_countdown=Yes, sw_featured=No",Barrix Agro Sciences Pvt Ltd,10,5,10,,Seeds,Default Category/Agriculture,base,test-1000 Grams,test-1000 Grams,test-1000 Grams,0.5,tax_class_12,Not Visible Individually,1290,,,,,test,test,test ,,,,,,,,,,,,,Block after Info Column,,,,Use config,Selena3,,,,,,Use config,,999,0,1,0,0,1,1,1,10000,1,1,1,1,1,1,1,1,1,0,0,0,,,,,,,,,,,,,,,,, test,configurable,,"sku=test-100 Grams,content_weight=100 Grams|sku=test-250 Grams,content_weight=250 Grams|sku=test-500 Grams,content_weight=500 Grams|sku=test-1000 Grams,content_weight=1000 Grams",content_weight=Content Weight,"content_weight=1000 Grams, show_countdown=Yes, sw_featured=No",Barrix Agro Sciences Pvt Ltd,10,5,10,,Seeds,"Default Category/Agriculture,Default Category",base,test,test,test,0.5,tax_class_12,"Catalog, Search",,,,,,test,test,test ,,,,,,,,,,,,,Block after Info Column,,,,Use config,Selena3,,,,,,Use config,,0,0,1,0,0,1,1,1,10000,1,1,1,1,1,1,1,1,1,0,0,0,,,,,,,,,,,,,,,,,

  2. Above is csv file

Steps to reproduce

// Provide a list of steps to reproduce this bug, include which plugins you use // You can attach your magmi profile files stored in directory "{your Magento dir}/magmi/conf/{your profile name directory}

  1. Potential assignment problem, specific model found for select attribute => content_weight(Magento\Eav\Model\Entity\Attribute\Source\Table) Potential assignment problem, specific model found for select attribute => brand_name(Magento\Eav\Model\Entity\Attribute\Source\Table)
  2. Configurable product not getting created and category not getting assign.

Actual result

// Tell us what happens instead - screenshot, logs etc. 1. products inventory catalog magento admin

Boyd1e commented 5 years ago

Hi,

I saw this on someone elses error try changing

magmi\engines\magmi_productimportengine.php

on line 333 Change

eav/entity_attribute_source_table to

Magento\Eav\Model\Entity\Attribute\Source\Table

tmotyl commented 5 years ago

@deepalikalasva this might be solved with https://github.com/macopedia/magmi-m2/pull/33 can you please check?

nishantraut-ambab commented 5 years ago

hi this is not working issue is still there can anyone let us know if have found the solution

tmotyl commented 5 years ago

@nishantraut-ambab please attach minimal csv file which allows to reproduce the issue? Are you using the most recent version from this repo (branch magento2)?

tmotyl commented 5 years ago

no activity since few months, closing

serik303 commented 4 years ago

no activity since few months, closing

Can you pls reopen? Problem is still here

serik303 commented 4 years ago

Preconditions

// Provide a more detailed information about you Magento, Apache2/nginx, PHP & MySQL version // Provide example CSV file to help us reproduce your issue

  1. Magento 2.3.3
  2. nginx version: nginx/1.14.0 (Ubuntu)
  3. PHP 7.2.24-0ubuntu0.18.04.1 (cli) (built: Oct 28 2019 12:07:07) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.24-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
  4. mysqld Ver 5.7.27-0ubuntu0.18.04.1 for Linux on x86_64 ((Ubuntu))
  5. Magmi M2 Branch: magento2 / with 2 plugins enabled "On the fly category creator/importer v0.2.5" & Configurable Item processor v1.3.7a

Steps to reproduce

// Provide a list of steps to reproduce this bug, include which plugins you use // You can attach your magmi profile files stored in directory "{your Magento dir}/magmi/conf/{your profile name directory}

  1. Create Configurable with some simple
  2. Export Products: System -> Export / Entity Type: Products / CSV
  3. Delete products
  4. Import products back using created csv file (Steps to reproduce №2) 1

Actual result

// Tell us what happens instead - screenshot, logs etc. 2

magmi