【问题标题】:Magento product import through admin doesn't properly import the product's category通过管理员导入 Magento 产品无法正确导入产品的类别
【发布时间】:2014-06-30 15:43:07
【问题描述】:

为什么我不能在 Magento 中上传产品,以至于该产品最终归入另一个类别?我尝试将两个字段(entity_id 和 value)中的值从数据库表 catalog_category_entity_varchar 中放入 CSV,并且类别保持不变。我在 CSV 中有这些字段: SKU _Store _attribute_set类型category_ids _root_category _product_websites activation_information颜色computer_manufacturers contrast_ratio成本country_of_manufacture country_orgin cpu_speed created_at custom_design custom_design_from custom_design_to custom_layout_update描述尺寸光洁度画廊性别gift_message_available harddrive_speed的hardrive has_options图像image_label in_depth制造商max_resolution media_gallery百万像素存储器meta_description meta_keyword meta_title minimal_price模型MSRP msrp_display_actual_price_type msrp_enabled名称news_from_date news_to_date options_container page_layout price processor ram_size required_options response_time room screensize shape shirt_size shoe_size shoe_type short_description small_image small_image_label special_from_date special_price special_to_date status tax_class_id thumbnail thum bnail_label的updated_at url_key url_path能见度重量数量min_qty use_config_min_qty is_qty_decimal缺货use_config_backorders min_sale_qty use_config_min_sale_qty max_sale_qty use_config_max_sale_qty is_in_stock 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 _links_related_sku _links_related_position _links_crosssell_sku _links_crosssell_position _links_upsell_sku _links_upsell_position _associated_sku _associated_default_qty _associated_position _tier_price_website _tier_price_customer_group _tier_price_qty _tier_price_price _group_price_website _group_price_customer_group _group_price_price _media_attribute_id _media_image _media_lable _media_position _media_is_disabled _super_products_sku _super_attribute_code _super_attribute_option _super_attri bute_price_corr

和编辑,例如,产品名称(上面列表中的名称字段)可以正常工作。 我正在使用 admin->system->import->Products->replace 现有的复杂数据功能来导入。

【问题讨论】:

    标签: magento import categories product


    【解决方案1】:

    您是否尝试过通过 System->Import/Export->Dataflow -Profiles->Import All Products 导入 csv 文件?您可以尝试通过System->Import/Export->Dataflow -Profiles->Export All Products导出产品,并从导出的csv文件创建一个示例csv文件并导入。

    【讨论】:

    • 这只会在我检查此文件时产生输入错误(在将其导入之前):行中“状态”的值无效:1、2、3、4、5、6、7、8 , 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 行中“tax_class_id”的值无效:1、2、3、4 , 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 行中的“可见性”值无效: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 'gift_message_available' 在行中的值无效:1、2、3、4、5、6、7、8、9、14、15、1etc 等...
    • 您是否在导入之前修改了以下字段? sku,名称,url_key,url_path?状态应该是启用。您可以将 tax_class_id 设置为 None
    • 以下哪些字段?导出的字段是一样的,除了产品名称,我修改了一个字母。具体来说,我将一种产品的 category_ids 更改为 30 而不是 29。
    • 还将 gift_message_available 设置为 No
    • 我将它设置为否,消息仍然存在(关于可用的礼物消息)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-11
    相关资源
    最近更新 更多