{
“name”: “0000”,
“storefront_api_query”: “query Product($productId: Int = 1, $activeCurrencyCode: currencyCode) { site { product(entityId: $productId) { name entityId description prices(currencyCode: $activeCurrencyCode) { price { currencyCode value } } defaultImage { url(width: 500, height: 500) } } } }”,
“schema”: [
{
“type”: “hidden”,
“settings”: [
{
“type”: “graphQl”,
“id”: “graphQueries”,
“typeMeta”: {
“mappings”: {
“productId”: {
“reads”: “productId”,
“type”: “Int!”
}
}
}
}
]
},
{
“type”: “array”,
“label”: “Carousel”,
“id”: “slides”,
“defaultCount”: 1,
“entryLabel”: “Slide”,
“thumbnail”: {},
“schema”: [
{
“type”: “tab”,
“label”: “Content”,
“sections”: [
{
“label”: “Product”,
“settings”: [
{
“type”: “productId”,
“label”: “Product”,
“id”: “productId”,
“default”: “”,
“typeMeta”: {
“placeholder”: “Search by name or SKU”
}
}
]
}
]
}
]
}
],
“template”: ” {{#each slides}}
{{.data.site.product.name}}
₹{{.data.site.product.prices.price.value}}
Description: {{{_.data.site.product.description}}}
{{/each}} ”
}
Please help me fix this json in postman to make a widget in which user can add multiple slides and each slide array should give option to select a product which must display. I am trying to add products to each array tab and make product cards through widget in my big commerce store. Please let me know how it’s done.