Woocommerce import csv显示空白页面

时间:2017-08-09 15:32:41

标签: woocommerce

我在WooCommerce 3.1.1和Wordpress 4.8.1上运行。我尝试通过“产品”中的内置导入功能导入产品(仅限10个) - > “导入”。

我在第一步中选择了.csv文件并继续进行。不幸的是,第二步(列映射)显示一个空白页。

我启用了WP调试模式和错误记录。仍然没有运气。我没有在任何日志文件中看到任何警告或错误。

可能是什么问题?

以下是我用来导入的CSV文件。

id,Type,SKU,Name,Published,Is featured?,Visibility in catalog,Short description,Description,Date sale price starts,Date sale price ends,Tax status,Tax class,In stock?,Stock,Backorders allowed?,Sold individually?,Weight (kg),Length (cm),Width (cm),Height (cm),Allow customer reviews?,Purchase note,Sale price,Regular price,Categories,Tags,Shipping class,Images,Download limit,Download expiry days,Parent,Grouped products,Upsells,Cross-sells,External URL,Button text,Attribute 1 name,Attribute 1 value(s),Attribute 1 visible,Attribute 1 global,Attribute 2 name,Attribute 2 value(s),Attribute 2 visible,Attribute 2 global
49,variable,1001-BB,HoHoHo Blackberry for girls,1,0,visible,,Blackberry coloured T-shirt for girls.,,,taxable,,1,3,0,0,0.08,11.2,,13.5,1,,175,300,"Tshirts, Girls",,,http://x/wp-content/uploads/1001-BB.jpg,,,,,,,,,Age,"1 to 2 Yrs, 2 to 3 Yrs, 4 to 5 Yrs, 6 to 7 Yrs, 8 to 9 Yrs",1,0,Color,Blackberry,1,0
52,variation,1001-BB-18M,"HoHoHo Blackberry for girls - 1 To 2 Yrs, Blackberry",1,0,visible,,,,,taxable,,1,3,0,0,,11.2,,13.5,0,,175,300,,,,,,,1001-BB,,,,,,Age,1 to 2 Yrs,,0,Color,Blackberry,,0
54,variation,1001-BB-3Y,"HoHoHo Blackberry for girls - 2 To 3 Yrs, Blackberry",1,0,visible,,,,,taxable,,1,3,0,0,,11.6,,14,0,,175,300,,,,,,,1001-BB,,,,,,Age,2 to 3 Yrs,,0,Color,Blackberry,,0
55,variation,1001-BB-5Y,"HoHoHo Blackberry for girls - 4 To 5 Yrs, Blackberry",1,0,visible,,,,,taxable,,1,4,0,0,,12,,15,0,,175,300,,,,,,,1001-BB,,,,,,Age,4 to 5 Yrs,,0,Color,Blackberry,,0
57,variation,1001-BB-7Y,"HoHoHo Blackberry for girls - 6 To 7 Yrs, Blackberry",1,0,visible,,,,,taxable,,1,1,0,0,,13.3,,15.8,0,,175,300,,,,,,,1001-BB,,,,,,Age,6 to 7 Yrs,,0,Color,Blackberry,,0
58,variation,1001-BB-9Y,"HoHoHo Blackberry for girls - 8 To 9 Yrs, Blackberry",1,0,visible,,,,,taxable,,1,2,0,0,,14.7,,18.3,0,,175,300,,,,,,,1001-BB,,,,,,Age,8 to 9 Yrs,,0,Color,Blackberry,,0
59,variable,1001-BL,HoHoHo Blue for girls,1,0,visible,,Blue coloured T-shirt for girls.,,,taxable,,1,3,0,0,0.08,11.2,,13.5,1,,175,300,"Tshirts, Girls",,,http://x/wp-content/uploads/1001-BL.jpg,,,,,,,,,Age,"1 to 2 Yrs, 2 to 3 Yrs, 4 to 5 Yrs, 6 to 7 Yrs",0,0,Color,Blue,1,0
,variation,1001-BL-7Y,"HoHoHo Blue for girls - 6 To 7 Yrs, Blue",1,0,visible,,,,,taxable,,1,2,0,0,,13.3,,15.8,0,,175,300,,,,,,,1001-BL,,,,,,Age,6 to 7 Yrs,,0,Color,Blue,,0
,variation,1001-BL-5Y,"HoHoHo Blue for girls - 4 To 5 Yrs, Blue",1,0,visible,,,,,taxable,,1,1,0,0,,12,,15,0,,175,300,,,,,,,1001-BL,,,,,,Age,4 to 5 Yrs,,0,Color,Blue,,0
,variation,1001-BL-3Y,"HoHoHo Blue for girls - 2 To 3 Yrs, Blue",1,0,visible,,,,,taxable,,1,5,0,0,,11.6,,14,0,,175,300,,,,,,,1001-BL,,,,,,Age,2 to 3 Yrs,,0,Color,Blue,,0
,variation,1001-BL-18M,"HoHoHo Blue for girls - 1 To 2 Yrs, Blue",1,0,visible,,,,,taxable,,1,4,0,0,,11.2,,13.5,0,,175,300,,,,,,,1001-BL,,,,,,Age,1 to 2 Yrs,,0,Color,Blue,,0

1 个答案:

答案 0 :(得分:0)

所以我遇到了这个问题,它与WooCommerce无法处理的无效行有关。确保所有列都与正确的数据对齐。它可能是期望更多的数字在id或你的属性2下被分配,但没有可见性,但我不是100%肯定。