Add "defaultAttributes" JSON key

This commit is contained in:
Lucas Bustamante 2021-12-27 08:40:07 -03:00
parent 2d233bc003
commit 0f29032a93
1 changed files with 16 additions and 4 deletions

View File

@ -13,10 +13,22 @@
},
"products": {
"simple": {
"name": "Simple product"
},
"variable": {
"name": "Variable Product with Three Variations",
"name": "Simple product"
},
"variable": {
"name": "Variable Product with Three Attributes",
"defaultAttributes": [
{
"id": 0,
"name": "Size",
"option": "Medium"
},
{
"id": 0,
"name": "Colour",
"option": "Blue"
}
],
"attributes": [
{
"id": 0,