Files
commerce/framework/local/data.json
2021-10-14 17:30:03 +02:00

625 lines
14 KiB
JSON

{
"products": [
{
"id": "product-1",
"name": "Informal Suit",
"vendor": "Next.js",
"path": "/informal-suit",
"slug": "informal-suit",
"price": { "value": 165, "currencyCode": "USD" },
"descriptionHtml": "<p><span>Description.</span></p>",
"images": [
{
"url": "/assets/informal-suit-1.jpg",
"altText": "Informal Suit",
"width": 1000,
"height": 1000
},
{
"url": "/assets/informal-suit-2.jpg",
"altText": "Informal Suit",
"width": 1000,
"height": 1000
},
{
"url": "/assets/informal-suit-3.jpg",
"altText": "Informal Suit",
"width": 1000,
"height": 1000
},
{
"url": "/assets/informal-suit-4.jpg",
"altText": "Informal Suit",
"width": 1000,
"height": 1000
},
{
"url": "/assets/informal-suit-5.jpg",
"altText": "Informal Suit",
"width": 1000,
"height": 1000
}
],
"variants": [
{
"id": "product-1",
"options": [
{
"__typename": "MultipleChoiceOption",
"id": "asd",
"displayName": "Size",
"values": [
{
"label": "XS"
},
{
"label": "S"
},
{
"label": "M"
},
{
"label": "L"
},
{
"label": "XXL"
},{
"label": "XL"
}
]
}
]
}
],
"options": [
{
"id": "option-color",
"displayName": "Color",
"values": [
{
"label": "red",
"hexColors": ["#c00825"]
}, {
"label": "dark gray",
"hexColors": ["#1f2b36"]
}
]
},
{
"id": "option-size",
"displayName": "Size",
"values": [
{
"label": "S"
},
{
"label": "M"
},
{
"label": "L"
}
]
}
]
},
{
"id": "product-2",
"name": "Simple Hoodie",
"vendor": "Next.js",
"path": "/simple-pull",
"slug": "simple-pull",
"price": { "value": 165, "currencyCode": "USD" },
"descriptionHtml": "<p><span>Description.</span></p>",
"images": [
{
"url": "/assets/simple-pull-1.jpg",
"altText": "Simple Hoodie",
"width": 1000,
"height": 1000
},
{
"url": "/assets/simple-pull-2.jpg",
"altText": "Simple Hoodie",
"width": 1000,
"height": 1000
},
{
"url": "/assets/simple-pull-3.jpg",
"altText": "Simple Hoodie",
"width": 1000,
"height": 1000
},
{
"url": "/assets/simple-pull-4.jpg",
"altText": "Simple Hoodie",
"width": 1000,
"height": 1000
}
],
"variants": [
{
"id": "product-2",
"options": [
{
"__typename": "MultipleChoiceOption",
"id": "asd",
"displayName": "Size",
"values": [
{
"label": "XS"
},
{
"label": "S"
},
{
"label": "M"
},
{
"label": "L"
},
{
"label": "XXL"
},{
"label": "XL"
}
]
}
]
}
],
"options": [
{
"id": "option-color",
"displayName": "Color",
"values": [
{
"label": "marble",
"hexColors": ["#ded8d4"]
}, {
"label": "blue",
"hexColors": ["#7e95c0"]
}, {
"label": "purple",
"hexColors": ["#857ea5"]
}, {
"label": "light gray",
"hexColors": ["#a19d97"]
}, {
"label": "coral",
"hexColors": ["#222"]
}, {
"label": "light-yellow",
"hexColors": ["#222"]
}
]
},
{
"id": "option-size",
"displayName": "Size",
"values": [
{
"label": "S"
},
{
"label": "M"
},
{
"label": "L"
}
]
}
]
},
{
"id": "product-3",
"name": "Simple T-Shirt",
"vendor": "Next.js",
"path": "/simple-t-shirt",
"slug": "simple-t-shirt",
"price": { "value": 165, "currencyCode": "USD" },
"descriptionHtml": "<p><span>Description.</span></p>",
"images": [
{
"url": "/assets/simple-t-shirt-1.jpg",
"altText": "Simple T-Shirt",
"width": 1000,
"height": 1000
},
{
"url": "/assets/simple-t-shirt-2.jpg",
"altText": "Simple T-Shirt",
"width": 1000,
"height": 1000
},
{
"url": "/assets/simple-t-shirt-3.jpg",
"altText": "Simple T-Shirt",
"width": 1000,
"height": 1000
},
{
"url": "/assets/simple-t-shirt-4.jpg",
"altText": "Simple T-Shirt",
"width": 1000,
"height": 1000
}
],
"variants": [
{
"id": "product-3",
"options": [
{
"__typename": "MultipleChoiceOption",
"id": "asd",
"displayName": "Size",
"values": [
{
"label": "XS"
},
{
"label": "S"
},
{
"label": "M"
},
{
"label": "L"
},
{
"label": "XXL"
},{
"label": "XL"
}
]
}
]
}
],
"options": [
{
"id": "option-color",
"displayName": "Color",
"values": [
{
"label": "white",
"hexColors": ["#222"]
}, {
"label": "dark green",
"hexColors": ["#222"]
}, {
"label": "pink",
"hexColors": ["#222"]
}, {
"label": "black",
"hexColors": ["#222"]
}
]
},
{
"id": "option-size",
"displayName": "Size",
"values": [
{
"label": "S"
},
{
"label": "M"
},
{
"label": "L"
}
]
}
]
},
{
"id": "product-4",
"name": "Black Glasses",
"vendor": "Next.js",
"path": "/black-glasses",
"slug": "black-glasses",
"price": { "value": 165, "currencyCode": "USD" },
"descriptionHtml": "<p><span>Description.</span></p>",
"images": [
{
"url": "/assets/black-glasses-1.jpg",
"altText": "Black Glasses",
"width": 1000,
"height": 1000
},
{
"url": "/assets/black-glasses-2.jpg",
"altText": "Black Glasses",
"width": 1000,
"height": 1000
},
{
"url": "/assets/black-glasses-3.jpg",
"altText": "Black Glasses",
"width": 1000,
"height": 1000
}
],
"variants": [
{
"id": "product-2",
"options": [
{
"__typename": "MultipleChoiceOption",
"id": "asd",
"displayName": "Size",
"values": [
{
"label": "One size"
}
]
}
]
}
],
"options": [
{
"id": "option-color",
"displayName": "Color",
"values": [
{
"label": "black",
"hexColors": ["#000"]
}
]
},
{
"id": "option-size",
"displayName": "Size",
"values": [
{
"label": "One size"
}
]
}
]
},
{
"id": "product-5",
"name": "Green Glasses",
"vendor": "Next.js",
"path": "/green-glasses",
"slug": "green-glasses",
"price": { "value": 165, "currencyCode": "USD" },
"descriptionHtml": "<p><span>Description.</span></p>",
"images": [
{
"url": "/assets/green-glasses-1.jpg",
"altText": "Green Glasses",
"width": 1000,
"height": 1000
},
{
"url": "/assets/green-glasses-2.jpg",
"altText": "Green Glasses",
"width": 1000,
"height": 1000
},
{
"url": "/assets/green-glasses-3.jpg",
"altText": "Green Glasses",
"width": 1000,
"height": 1000
}
],
"variants": [
{
"id": "product-2",
"options": [
{
"__typename": "MultipleChoiceOption",
"id": "asd",
"displayName": "Size",
"values": [
{
"label": "One size"
}
]
}
]
}
],
"options": [
{
"id": "option-color",
"displayName": "Color",
"values": [
{
"label": "green",
"hexColors": ["#7dc360"]
}
]
},
{
"id": "option-size",
"displayName": "Size",
"values": [
{
"label": "One size"
}
]
}
]
},
{
"id": "product-6",
"name": "Premium Coat",
"vendor": "Next.js",
"path": "/premium-coat",
"slug": "premium-coat",
"price": { "value": 165, "currencyCode": "USD" },
"descriptionHtml": "<p><span>Description.</span></p>",
"images": [
{
"url": "/assets/premium-coat-1.jpg",
"altText": "Premium Coat",
"width": 1000,
"height": 1000
},
{
"url": "/assets/premium-coat-2.jpg",
"altText": "Premium Coat",
"width": 1000,
"height": 1000
},
{
"url": "/assets/premium-coat-3.jpg",
"altText": "Premium Coat",
"width": 1000,
"height": 1000
}
],
"variants": [
{
"id": "product-5",
"options": [
{
"__typename": "MultipleChoiceOption",
"id": "asd",
"displayName": "Size",
"values": [
{
"label": "XS"
},
{
"label": "S"
},
{
"label": "M"
},
{
"label": "L"
},
{
"label": "XXL"
},{
"label": "XL"
}
]
}
]
}
],
"options": [
{
"id": "option-color",
"displayName": "Color",
"values": [
{
"label": "mustard",
"hexColors": ["#a47641"]
}
]
},
{
"id": "option-size",
"displayName": "Size",
"values": [
{
"label": "S"
},
{
"label": "M"
},
{
"label": "L"
}
]
}
]
},
{
"id": "product-6",
"name": "Premium Parka",
"vendor": "Next.js",
"path": "/premium-parka",
"slug": "premium-parka",
"price": { "value": 165, "currencyCode": "USD" },
"descriptionHtml": "<p><span>Description.</span></p>",
"images": [
{
"url": "/assets/premium-parka-1.jpg",
"altText": "Premium Parka",
"width": 1000,
"height": 1000
},
{
"url": "/assets/premium-parka-2.jpg",
"altText": "Premium Parka",
"width": 1000,
"height": 1000
},
{
"url": "/assets/premium-parka-3.jpg",
"altText": "Premium Parka",
"width": 1000,
"height": 1000
}
],
"variants": [
{
"id": "product-6",
"options": [
{
"__typename": "MultipleChoiceOption",
"id": "asd",
"displayName": "Size",
"values": [
{
"label": "XS"
},
{
"label": "S"
},
{
"label": "M"
},
{
"label": "L"
},
{
"label": "XXL"
},{
"label": "XL"
}
]
}
]
}
],
"options": [
{
"id": "option-color",
"displayName": "Color",
"values": [
{
"label": "mustard",
"hexColors": ["#a47641"]
}
]
},
{
"id": "option-size",
"displayName": "Size",
"values": [
{
"label": "S"
},
{
"label": "M"
},
{
"label": "L"
}
]
}
]
}
]
}