产品没有通过magmi分配到类别

  • 本文关键字:分配 magmi magento magmi
  • 更新时间 :
  • 英文 :


我正在使用magmi上传产品,它正在运行,产品正在上传。只有一个问题,他们没有出现在前端,但他们出现在管理中当我试图找到我发现产品没有被分配到任何类别的原因时,当我手动这样做时,它们显示在前台。有人能帮忙吗?

这是我的CSV 样本

sku _store  _attribute_set  _type   _category   _root_category  _product_websites   ada_compliant   backplate_dimension base_dimension  brand   bulb_included   bulb_type   bulb_wattage    canopy_dimension    carton_height   carton_length   carton_width    collection1 cost    country_of_manufacture  country_orgin   created_at  custom_design   custom_design_from  custom_design_to    custom_layout_update    depth   description designer    diameter    dimension   enable_googlecheckout   energy  extension   finish  finish1 gallery gender  gift_message_available  harddrive_speed hardrive    has_options height  height_1    image   image_label in_depth    lamping length  manufacturer1   max_resolution  media_gallery   megapixels  memory  meta_description    meta_keyword    meta_title  minimal_price   model   msrp    msrp_display_actual_price_type  msrp_enabled    name    news_from_date  news_to_date    no_bulbs    options_container   page_layout price   processor   ram_size    required_options    response_time   room    screensize  shade_color shade_dimension shade_material  shape   shirt_size  shoe_size   shoe_type   short_description   small_image small_image_label   special_from_date   special_price   special_to_date status  style   switch  tax_class_id    thumbnail   thumbnail_label updated_at  url_key url_path    visibility  weight  width   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 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
EP777777-81 admin   Default simple  Wall Lights/Wall Sconces        base    No          Maxim Lighting  No  Medium base bulbs   100     29.72   33.66   10.43   Basix   170                                 Contemporary collection with sweeping arms and clean lines. Offered in Ice glass and Satin Nickel finish or Wilshire glass and Oil Rubbed Bronze finish.    Maxim Lighting      31.5 H x 32 W x  L          Dry Locations           Satin Nickel            1                   31.5    /10001CLPC.jpg  Basix 9-Light Chandelier                Maxim Lighting      0           Basix 9-Light Chandelier7777    Ceiling Lights, Chandeliers, lighting, lights, Maxim Lighting   Maxim Lighting Basix 9-Light Chandelier         $510.00             Basix 9-Light Chandelier9999            9           255                                                     Basix 9-Light Chandelier    /10001CLPC.jpg  Basix 9-Light Chandelier                1   Contemporary        2   /10001CLPC.jpg  Basix 9-Light Chandelier                4   26  32  10  0   1   0   0   1   1   1   100 1   1       1   0   1   0   1   0   1   0   0                                               

我也遇到了同样的问题。但我把magmi类用于个人项目,而不是使用magmi接口。我通过在产品数据数组中添加"category_ids"=>"2"来解决问题。这是类别的id。它可能对你没有帮助,但可能对其他人有帮助。

查看您的CSV,您的一些列名不正确(包括类别)

例如:

_store  _attribute_set  _type   _category    _product_websites

应为:

store   attribute_set   type    category     websites

您可以在Magmi上看到所需的列名:进口新产品

此外,请确保您在Magmi配置中启用了动态类别创建者/导入器插件,并且您的类别列值遵循文档中列出的格式。

尝试将字段命名为"categories"而不是"category"

最新更新