Created
February 4, 2015 08:34
-
-
Save PritishC/0d3dc2b582fb39b5c338 to your computer and use it in GitHub Desktop.
Example variation_data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variants": [ | |
{ | |
"attributes": { | |
"medium": "digital" | |
}, | |
"code": "1-5-C-FT-58", | |
"id": 1, | |
"image_urls": [ | |
{ | |
"large_thumbnail": "/static-file-transform/5/thumbnail%2Cw_500%2Ch_500%2Cm_a.png", | |
"regular": "/static-file/Default%20Images/CatalogAddress_1.png", | |
"small_thumbnail": "/static-file-transform/5/thumbnail%2Cw_120%2Ch_120%2Cm_a.png" | |
}, | |
{ | |
"large_thumbnail": "/static-file-transform/3/thumbnail%2Cw_500%2Ch_500%2Cm_a.png", | |
"regular": "/static-file/Default%20Images/Selection_057.png", | |
"small_thumbnail": "/static-file-transform/3/thumbnail%2Cw_120%2Ch_120%2Cm_a.png" | |
} | |
], | |
"name": "First", | |
"price": "$5.00", | |
"rec_name": "[1-5-C-FT-58] First", | |
"url": "/product/first" | |
}, | |
{ | |
"attributes": { | |
"medium": "physical" | |
}, | |
"code": "", | |
"id": 5, | |
"image_urls": [ | |
{ | |
"large_thumbnail": "/static-file-transform/3/thumbnail%2Cw_500%2Ch_500%2Cm_a.png", | |
"regular": "/static-file/Default%20Images/Selection_057.png", | |
"small_thumbnail": "/static-file-transform/3/thumbnail%2Cw_120%2Ch_120%2Cm_a.png" | |
}, | |
{ | |
"large_thumbnail": "/static-file-transform/4/thumbnail%2Cw_500%2Ch_500%2Cm_a.png", | |
"regular": "/static-file/Default%20Images/Selection_058.png", | |
"small_thumbnail": "/static-file-transform/4/thumbnail%2Cw_120%2Ch_120%2Cm_a.png" | |
} | |
], | |
"name": "First", | |
"price": "$5.00", | |
"rec_name": "First", | |
"url": "/product/anotherprod" | |
} | |
], | |
"varying_attributes": [ | |
{ | |
"name": "medium", | |
"options": [ | |
[ | |
"digital", | |
"Digital" | |
], | |
[ | |
"physical", | |
"Physical" | |
] | |
], | |
"sequence": 10, | |
"string": "Medium", | |
"widget": "dropdown" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment