Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create a global attribute
{
"data": [
{
"slug": "product-color",
"label": "Product color",
"options": [
{
"label": "Red",
"slug": "red",
"description": "Red is a very beautiful color for every product."
},
{
"label": "Blue",
"slug": "blue",
"description": "I am blue - dabadi badibai"
},
{
"label": "Green",
"slug": "green",
"description": "Green - like hope, you know?"
}
]
},
(...)
],
"shop": "demo-shop"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.