Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在magento中导入CSV_Magento_Csv - Fatal编程技术网

在magento中导入CSV

在magento中导入CSV,magento,csv,Magento,Csv,我有一个csv,列由delimeter“;”分隔而封闭的列值设置为“无”。我在Magento->System->Import/Export->Dataflow Profiles中进行了相同的配置 但是,当我在magento安装中导入csv时,出现了一个错误 找不到所需的列:sku 这是我的示例csv数据-> store;associated;config_attributes;websites;attribute_set;type;category_ids;sku;has_options;nam

我有一个csv,列由delimeter“;”分隔而封闭的列值设置为“无”。我在Magento->System->Import/Export->Dataflow Profiles中进行了相同的配置

但是,当我在magento安装中导入csv时,出现了一个错误

找不到所需的列:sku

这是我的示例csv数据->

store;associated;config_attributes;websites;attribute_set;type;category_ids;sku;has_options;name;image;small_image;thumbnail;url_key;url_path;options_container;image_label;small_image_label;thumbnail_label;price;weight;status;visibility;enable_googlecheckout;tax_class_id;description;short_description;special_from_date;qty;min_qty;use_config_min_qty;is_qty_decimal;backorders;use_config_backorders;min_sale_qty;use_config_min_sale_qty;max_sale_qty;use_config_max_sale_qty;is_in_stock;low_stock_date;notify_stock_qty;use_config_notify_stock_qty;manage_stock;use_config_manage_stock;stock_status_changed_auto;use_config_qty_increments;qty_increments;use_config_enable_qty_inc;enable_qty_increments;is_decimal_divided;stock_status_changed_automatically;use_config_enable_qty_increments;product_name;store_id;product_type_id;product_status_changed;product_changed_websites;meta_title;meta_description;custom_design;page_layout;country_of_manufacture;msrp_enabled;msrp_display_actual_price_type;gift_message_available;style;special_price;msrp;color;is_recurring;size;meta_keyword;custom_layout_update;special_to_date;news_from_date;news_to_date;custom_design_from;custom_design_to
admin;;size,color;;Default;configurable;17,51;81341;1;2 PC. Stretch lace cut out chemise with satin bow accents and matching g-string.;/l/a/large-RC-original-1411.jpg;/l/a/large-RC-original-1411.jpg;/l/a/large-RC-original-1411.jpg;2-pc-stretch-lace-cut-out-chemise-with-satin-bow-accents-and-matching-g-string;2-pc-stretch-lace-cut-out-chemise-with-satin-bow-accents-and-matching-g-string.html;Block after Info Column;;;;10;0;Enabled;Catalog, Search;Yes;None;2PC.Stretch lace cut out chemise with matching g-string O/S ;2PC.Stretch lace cut out chemise with matching g-string O/S ;;0;0;1;0;0;1;1;1;0;1;1;0.00000000000;;1;0;1;0;1;0;1;0;0;0;1;2 PC. Stretch lace cut out chemise with satin bow accents and matching g-string.;0;configurable;;;;;;;;;;;;;;;;;;;;;;;
admin;;O/S,RED;lingerie;Default;simple;;8134222003;0;2 PC. Lace triangle bra and strappy g-string set with heart ring accents.;/l/a/large-RC-original-1430.jpg;/l/a/large-RC-original-1430.jpg;/l/a/large-RC-original-1430.jpg;2-pc-lace-triangle-bra-and-strappy-g-string-set-with-heart-ring-accents;2-pc-lace-triangle-bra-and-strappy-g-string-set-with-heart-ring-accents.html;Block after Info Column;;;;10;1;Enabled;Not Visible Ind;Yes;None;2PC.Lace triangle bra and strappy g-string set with heart ri;2PC.Lace triangle bra and strappy g-string set with heart ri;;100;0;1;0;0;1;1;1;0;1;1;0.00000000000;;1;0;1;0;1;0;1;0;0;0;1;2 PC. Lace triangle bra and strappy g-string set with heart ring accents.;0;simple;;;;;;;;;;;;;;RED;;O/S;;;;;;;
admin;8134222003,;size,color;lingerie;Default;configurable;16,34;81342;1;2 PC. Lace triangle bra and strappy g-string set with heart ring accents.;/l/a/large-RC-original-1430.jpg;/l/a/large-RC-original-1430.jpg;/l/a/large-RC-original-1430.jpg;2-pc-lace-triangle-bra-and-strappy-g-string-set-with-heart-ring-accents;2-pc-lace-triangle-bra-and-strappy-g-string-set-with-heart-ring-accents.html;Block after Info Column;;;;10;0;Enabled;Catalog, Search;Yes;None;2PC.Lace triangle bra and strappy g-string set with heart ri;2PC.Lace triangle bra and strappy g-string set with heart ri;;0;0;1;0;0;1;1;1;0;1;1;0.00000000000;;1;0;1;0;1;0;1;0;0;0;1;2 PC. Lace triangle bra and strappy g-string set with heart ring accents.;0;configurable;;;;;;;;;;;;;;;;;;;;;;;

您是否尝试使用逗号(,)作为分隔符?另外,请确保文件编码为UTF-8,没有BOM。是的,我也尝试了逗号(,),文件编码为UTF-8。实际上,我已将wamp安装中的表导出为csv格式。UTF-8和UTF-8之间存在差异,没有BOM。用记事本++打开文件(如果可以的话),你可以从那里更改编码。我添加了逗号(,)作为分隔符,列值包含在“”中,还将编码更改为UTF-8,没有BOM。但我得到了错误。产品类型无效或不支持行:1、2、3、4、5、6、7、8、9、10、11、12、13、14、15、16、18、19、20、21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,这是一个完全不同的问题。