2017-12-06 12 views
1

저는 Magento를 처음 접했지만 제품 유형은 가져 오기에 필수 항목입니다. 다음과 같이 내 CSV 읽 Magento 1.9로 제품을 테스트 할 때 "제품 유형이 잘못되었거나 지원되지 않습니다."

store,websites,attribute_set,type,sku,has_options,name,image,small_image,thumbnail,url_key,url_path,options_container,gift_message_available,page_layout,country_of_manufacture,msrp_enabled,msrp_display_actual_price_type,price,special_price,weight,status,tax_class_id,visibility,is_recurring,linen_type,enable_tabs,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,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,type_id,categories,gallery,img_label,has_color_picked,additional_catoverride,meta_title,meta_description 
admin,base,Default,simple,111-1-BK-GG,0,HERCULES,Imperial,Series,Black,Leather,Chair,,,,,,Block,after,Info,Column,No,No,layout,updates,China,Use,config,Use,config,583,185.75,54,Disabled,Taxable,Goods,"Catalog, Search",No,UNKNOWN,No,"<ul class=""disc"">Your lobby or reception area is the forefront of your business and providing distinguished and comfortable seating is the first step towards making a great impression. The modern appeal of this chair will make a lasting impression with your visitors. Reception chairs are perfect for the office and as waiting room seating. The contemporary design of this furniture adapts in several different settings. This chair features streamlined stitching and elevated, curved hardwood feet. Not only will this chair fit in a professional environment, but will add a modern look to your home.<li>Contemporary Design<li>Office or Home Office Seating<li>Sloping Arms<li>Slightly Curved Seat and Back<li>Fixed Seat Cushion<li>1.8 High Density Foam<li>Sturdy Hardwood Construction<li>Cherry Stained Wood Feet<li>Black LeatherSoft Upholstery<li>LeatherSoft is leather and polyurethane for added Softness and Durability<li>CA117 Fire Retardant Foam</ul>","<ul class=""disc""><b>Black Leather Chair</b><li>Overall Dimensions: 33.50""W x 31""D x 29""H<li>Availability: In Stock. Usually ships within 24 business hours.</ul>",,0,0,1,0,0,1,1,1,0,1,0,,1,0,1,1,1,0,1,0 

원래 헤더가보다 더 많은 제품 당 열의 숫자로, 별도의 엔티티에 의해 제공되었다. 그것들을 가지고, Check Data는 "Column names have duplicates"을 반환했습니다. 해당 콘텐츠가 삭제되었습니다.

Product Type is invalid or not supported in rows: 1 

File is totally invalid. Please fix errors and re-upload file 
Checked rows: 1, checked entities: 1, invalid rows: 1, total errors: 1 

완전히 잘못되었습니다.

원래 type_id 열이 대신 product_type이라고 읽 힙니다. 이제는 제품 행에 동일한 값이 1로 표시됩니다. type 열에 "simple"값이 있습니다. 이를 실현하기 전에 나는 product_type에 대해 "Simple Product", "Simple"및 "simple"값을 시도했습니다. 또한이 값을 현재 type_id_type과 같이 열 머리글의 변형과 결합하려고 시도했습니다. 둘 다이 문제를 온라인에서 조사하는 동안 발견되었습니다.

나는 또한 해당 열을 모두 제거하려고했습니다. 어떤 변화도 없습니다. 내 지루한 수입 스크립트를 작성하지 않아도 될까요?

는 UPDATE : 말할 때이 오류가 이제 다른 방법을 주신, 생각을했습니다 것이다 ... (TYPE_ID = 1 OK)

는 지금은 열이 매우하지 나

Can not find required columns: sku 
Please fix errors and re-upload file 

를 알려줍니다 말 그대로 존재한다. 나는 칼럼을 움직이려고했다. 나는 [유효하지만] 값을 변경하려고했습니다. 나는 카탈로그> 속성> 속성 관리에서 필드 sku을 필요로하지 않도록 설정하려고했습니다. 아직도 나는 같은 슬픈 결과를 얻는다.

나는 Magento를 싫어하지만, 여전히 나 또는 다른 누구에게도 도움이되지 않습니다. 이 간단한 시스템에 단순한 제품을 가져 오는 방법을 어떻게 결정합니까?

MageBees 모듈을 사용해 보았는데 오류가 발생했습니다. 제품 SKU 필드 "sku"가 비어 있습니다. 아니 비어 있지 않아. 그것은 111-1-BK-GG입니다. 젠장.

답변

0

type_id or _type - this field should contain the information that specifies to which type the product belongs, in other words if it is one component or complex. Here should be specified: simple, configurable, virtual, downloadable, grouped or bundle value. Note that it is case-sensitive and values should not be capitalized.

귀하의 type 필드 대신 type_id해야한다. 나는 당신이 왜 product_type이라는 이름을 바꿨는지 확신 할 수 없다.하지만 나는 그것을 그대로두고 삭제해야한다고 생각한다. 당신이 해결책을 발견하면 https://www.mag-manager.com/useful-articles/tipstricks/required-csv-file-values-for-error-free-magento-import-via-admin/

+0

좋아요. type_id = 1을 시도 했으니까요. 하지만 지금은 그 걸림쇠를 지나가려고 노력하고 있습니다. column header를 product_type으로 변경 한 적이 없었습니다. –

+0

하지만 이제는 "필요한 열을 찾을 수 없습니다 : sku"라고 말합니다 –

+0

새 CSV로 질문을 편집 할 수 있습니까? – dbrekelmans

0
이 문제에 대한

정지하려고 솔루션은 대부분 하나 더 문제를 얻기에 결국 잡아 줄께 : 여기

는 (있는 I 위의 텍스트를 인용) 당신을 도울 것입니다 그 멋진 가이드 & 등등.

그래서 어떻게 수정합니까? Magmi에 가면 패턴을 완성한 후 &을 배우면 수백만 개의 제품을 쉽게 업로드 할 수 있습니다.

+0

나는 Magento에 대한 대안이 100 %라는 것을 알고 있지만, 지금 당장 나를위한 선택은 아닙니다. –

+0

@CalyneMartel이 도움을 줄 수 있습니다. https://magento.stackexchange.com –