我收到此错误(#21916587),我似乎找不到丢失的名字。
此处显示与错误相关的消息:变体规范或变体规范集中缺少名称。
这似乎只有在我有一个复杂的"类型变化。例如,如果我的产品只有不同的尺寸,它会按预期工作。
这是我发送给eBay的输出。
Array
(
[Variation] => Array
(
[0] => Array
(
[SKU] => 0147852369
[StartPrice] => Array
(
[value] => 5
)
[Quantity] => 5
[VariationSpecifics] => Array
(
[0] => Array
(
[NameValueList] => Array
(
[0] => Array
(
[Name] => Color
[Value] => Array
(
[0] => Red
)
)
)
)
[1] => Array
(
[NameValueList] => Array
(
[0] => Array
(
[Name] => Shirt Size
[Value] => Array
(
[0] => Adult Medium
)
)
)
)
)
)
[1] => Array
(
[SKU] => 0147852368
[StartPrice] => Array
(
[value] => 4
)
[Quantity] => 9
[VariationSpecifics] => Array
(
[0] => Array
(
[NameValueList] => Array
(
[0] => Array
(
[Name] => Color
[Value] => Array
(
[0] => Red
)
)
)
)
[1] => Array
(
[NameValueList] => Array
(
[0] => Array
(
[Name] => Shirt Size
[Value] => Array
(
[0] => Adult Small
)
)
)
)
)
)
[2] => Array
(
[SKU] => 0147852367
[StartPrice] => Array
(
[value] => 5.5
)
[Quantity] => 9
[VariationSpecifics] => Array
(
[0] => Array
(
[NameValueList] => Array
(
[0] => Array
(
[Name] => Color
[Value] => Array
(
[0] => White
)
)
)
)
[1] => Array
(
[NameValueList] => Array
(
[0] => Array
(
[Name] => Shirt Size
[Value] => Array
(
[0] => Adult Medium
)
)
)
)
)
)
[3] => Array
(
[SKU] => 0147852366
[StartPrice] => Array
(
[value] => 4.5
)
[Quantity] => 8
[VariationSpecifics] => Array
(
[0] => Array
(
[NameValueList] => Array
(
[0] => Array
(
[Name] => Color
[Value] => Array
(
[0] => White
)
)
)
)
[1] => Array
(
[NameValueList] => Array
(
[0] => Array
(
[Name] => Shirt Size
[Value] => Array
(
[0] => Adult Small
)
)
)
)
)
)
)
[Pictures] => Array
(
[0] => Array
(
[VariationSpecificName] => Shirt Size
[VariationSpecificPictureSet] => Array
(
[0] => Array
(
[VariationSpecificValue] => Adult Small
[PictureURL] => Array
(
[0] => http://www.somesite.local/images/products/canvas-unisex-jersey-short-sleeve-t-shirt-3001c-canvas-red.jpg
)
)
)
)
[1] => Array
(
[VariationSpecificName] => Shirt Size
[VariationSpecificPictureSet] => Array
(
[0] => Array
(
[VariationSpecificValue] => Adult Small
[PictureURL] => Array
(
[0] => http://www.somesite.local/images/products/2000G_WHITE_large.jpg
)
)
)
)
)
[VariationSpecificsSet] => Array
(
[NameValueList] => Array
(
[0] => Array
(
[Name] => Color
[Value] => Array
(
[0] => Red
[1] => White
)
)
[1] => Array
(
[Name] => Shirt Size
[Value] => Array
(
[0] => Adult Medium
[1] => Adult Small
)
)
)
)
)
答案 0 :(得分:0)
为遇到此问题的任何人计算出来,并且您知道自己并未错过变体或集合中的名称。
如果您查看数组,特别是VariationSpecifics键,您会注意到它中有2个项目。它应该只有1.衬衫大小和颜色都应该在VariationSpecifics键中的单个NameValueList键内。