Make Array type widget in bigcommerce to show multiple products in different tabs of array in bigcommerce widget postman api
{
“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}}