Setting the file. One moment.
Woocommerce · Rp Source CSV · wix/skills · Skills Docs
ContentsBack to the top of the page Raw file
vendors/ woocommerce.json
JSON · 82 lines · 4 KB
,
"Short description"
,
"Attribute 1 name"
],
8 "negative" : [ "Handle" , "attribute_set_code" , "Item Type" ]
9 },
10 "layout" : {
11 "pattern" : "sectioned" ,
12 "discriminatorColumn" : "Type" ,
13 "childLevels" : [ "variation" ],
14 "parentRefColumn" : "Parent" ,
15 "parentEntity" : "product" ,
16 "childEntity" : "variant" ,
17 "columnGroups" : [
18 {
19 "entity" : "image" ,
20 "prefixes" : [],
21 "columns" : [ "Images" ]
22 }
23 ]
24 },
25 "derived" : [
26 {
27 "entity" : "category" ,
28 "fromColumn" : "Categories" ,
29 "hierarchySeparator" : ">" ,
30 "multiValueSeparator" : "," ,
31 "hierarchical" : true ,
32 "linkPolicy" : "leaf" ,
33 "relation" : { "fromEntity" : "product" , "field" : "categories" , "cardinality" : "many-to-many" }
34 },
35 {
36 "entity" : "tag" ,
37 "fromColumn" : "Tags" ,
38 "multiValueSeparator" : "," ,
39 "hierarchical" : false ,
40 "linkPolicy" : "leaf" ,
41 "relation" : { "fromEntity" : "product" , "field" : "tags" , "cardinality" : "many-to-many" }
42 }
43 ],
44 "fileRoles" : [
45 { "role" : "product" , "filenameHints" : [ "wc-product-export" , "products" ] },
46 { "role" : "order" , "filenameHints" : [ "wc-order-export" , "orders" ] },
47 { "role" : "customer" , "filenameHints" : [ "customers" ] }
48 ],
49 "columnMap" : [
50 { "wixTarget" : "product.name" , "aliases" : [ "Name" , "post_title" ] },
51 { "wixTarget" : "product.description" , "aliases" : [ "Description" , "post_content" ] },
52 { "wixTarget" : "product.shortDescription" , "aliases" : [ "Short description" , "post_excerpt" ] },
53 { "wixTarget" : "product.sourceId" , "aliases" : [ "ID" , "id" , "post_id" ] },
54 { "wixTarget" : "product.visible" , "aliases" : [ "Published" , "Visibility in catalog" ] },
55 { "wixTarget" : "product.ribbon" , "aliases" : [ "Is featured?" ] },
56 { "wixTarget" : "variant.sku" , "aliases" : [ "SKU" , "sku" ] },
57 { "wixTarget" : "variant.price" , "aliases" : [ "Regular price" , "regular_price" ] },
58 { "wixTarget" : "variant.discountedPrice" , "aliases" : [ "Sale price" , "sale_price" ] },
59 { "wixTarget" : "variant.inventoryQuantity" , "aliases" : [ "Stock" , "stock_quantity" ] },
60 { "wixTarget" : "variant.inStock" , "aliases" : [ "In stock?" ] },
61 { "wixTarget" : "variant.weight" , "aliases" : [ "Weight (kg)" , "weight" ] },
62 { "wixTarget" : "variant.length" , "aliases" : [ "Length (cm)" ] },
63 { "wixTarget" : "variant.width" , "aliases" : [ "Width (cm)" ] },
64 { "wixTarget" : "variant.height" , "aliases" : [ "Height (cm)" ] },
65 { "wixTarget" : "variant.option1.name" , "aliases" : [ "Attribute 1 name" ] },
66 { "wixTarget" : "variant.option1.value" , "aliases" : [ "Attribute 1 value(s)" ] },
67 { "wixTarget" : "variant.option2.name" , "aliases" : [ "Attribute 2 name" ] },
68 { "wixTarget" : "variant.option2.value" , "aliases" : [ "Attribute 2 value(s)" ] },
69 { "wixTarget" : "variant.parentRef" , "aliases" : [ "Parent" , "parent_id" ] },
70 { "wixTarget" : "image.url" , "aliases" : [ "Images" ] },
71 { "wixTarget" : "category.path" , "aliases" : [ "Categories" ] },
72 { "wixTarget" : "tag.name" , "aliases" : [ "Tags" ] }
73 ],
74 "quirks" : [
75 "Type is the row discriminator: simple/variable/grouped/external rows are products, variation rows are variants of the product named in Parent." ,
76 "Parent on a variation row references the parent by id (id:123) or by SKU, not by row position — resolve it explicitly rather than assuming the variation follows its parent." ,
77 "Categories packs hierarchy and multiplicity into one cell: 'Clothing > Shirts, Sale' is two categories, one of them nested. Split the multi-value separator first, then the hierarchy separator." ,
78 "A category name containing a comma is quoted inside the cell, so the multi-value split must itself be RFC-4180 aware." ,
79 "Images is a comma-separated list of URLs in one cell; the first is the featured image." ,
80 "Attribute N value(s) may hold several pipe-separated values on a variable product row while a variation row holds exactly one."
81 ]
82 }