2023-01-12 16:56:35 +00:00
|
|
|
{
|
|
|
|
"store.product": {
|
|
|
|
"children": [
|
2023-01-20 14:59:33 +00:00
|
|
|
"html#breadcrumb",
|
2023-01-12 16:56:35 +00:00
|
|
|
"condition-layout.product#availability",
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#product-description",
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#specifications-title",
|
2023-02-03 18:33:31 +00:00
|
|
|
// "product-specification-group#table",
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#slider",
|
2023-02-03 18:33:31 +00:00
|
|
|
"product-questions-and-answers",
|
|
|
|
"newsletter"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
2023-02-03 18:33:31 +00:00
|
|
|
"list-context.product-list#demo1": {
|
|
|
|
"blocks": [
|
|
|
|
"product-summary.shelf#demo1"
|
|
|
|
],
|
|
|
|
"children": [
|
|
|
|
"slider-layout#demo-products"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"product-summary.shelf#demo1": {
|
2023-02-07 14:40:28 +00:00
|
|
|
"children": [
|
|
|
|
"html#prateleira"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"html#prateleira": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "prate",
|
|
|
|
"testId": "vtex-product-summary"
|
|
|
|
},
|
2023-02-03 18:33:31 +00:00
|
|
|
"children": [
|
|
|
|
"product-summary-image",
|
2023-02-07 18:37:46 +00:00
|
|
|
"product-summary-name",
|
|
|
|
"product-list-price",
|
|
|
|
"product-selling-price",
|
|
|
|
"product-summary-description"
|
|
|
|
// "product-summary-price",
|
2023-02-03 18:33:31 +00:00
|
|
|
]
|
|
|
|
},
|
2023-02-07 14:40:28 +00:00
|
|
|
"product-summary-image": {
|
|
|
|
"props": {
|
|
|
|
"aspectRatio": {
|
|
|
|
"desktop": "1:1"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-02-03 18:33:31 +00:00
|
|
|
"slider-layout#demo-products": {
|
|
|
|
"props": {
|
|
|
|
"itemsPerPage": {
|
|
|
|
"desktop": 4,
|
|
|
|
"tablet": 3,
|
|
|
|
"phone": 2
|
|
|
|
},
|
|
|
|
"infinite": true,
|
2023-02-08 19:26:28 +00:00
|
|
|
"showNavigationArrows": "always",
|
2023-02-03 18:33:31 +00:00
|
|
|
"blockClass": "carousel"
|
|
|
|
}
|
|
|
|
},
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#slider": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-summary-list"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"list-context.product-list#demo1"
|
|
|
|
]
|
|
|
|
},
|
2023-01-31 20:39:32 +00:00
|
|
|
"html#quantityAndButton": {
|
2023-02-07 14:40:28 +00:00
|
|
|
"props": {
|
|
|
|
"blockClass": "quantityAndButton"
|
|
|
|
},
|
2023-01-31 20:39:32 +00:00
|
|
|
"children": [
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#product-quantity",
|
2023-02-03 18:33:31 +00:00
|
|
|
"html#add-to-cart-button"
|
2023-01-31 20:39:32 +00:00
|
|
|
]
|
|
|
|
},
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#product-quantity": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-quantity"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"product-quantity"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"html#shipping-simulator": {
|
|
|
|
"props": {
|
|
|
|
"testId": "shipping-simulator"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"shipping-simulator"
|
|
|
|
]
|
|
|
|
},
|
2023-01-30 18:01:27 +00:00
|
|
|
"Pix-academy": {
|
|
|
|
"props": {
|
2023-01-31 20:39:32 +00:00
|
|
|
"blockClass": "pix-wrapper"
|
2023-01-30 18:01:27 +00:00
|
|
|
}
|
|
|
|
},
|
2023-01-26 18:23:31 +00:00
|
|
|
"tab-layout#desc": {
|
|
|
|
"children": [
|
|
|
|
"tab-list#home",
|
|
|
|
"tab-content#desc"
|
|
|
|
],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "desc",
|
|
|
|
"defaultActiveTabId": "desc1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list#home": {
|
|
|
|
"children": [
|
|
|
|
"tab-list.item#desc1",
|
|
|
|
"tab-list.item#desc2",
|
|
|
|
"tab-list.item#desc3",
|
|
|
|
"tab-list.item#desc4",
|
|
|
|
"tab-list.item#desc5"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tab-list.item#desc1": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "desc1",
|
|
|
|
"label": "Descrição",
|
|
|
|
"defaultActiveTab": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#desc2": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "desc2",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#desc3": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "desc3",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#desc4": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "desc4",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#desc5": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "desc5",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-content#desc": {
|
|
|
|
"children": [
|
|
|
|
"tab-content.item#desc1",
|
|
|
|
"tab-content.item#desc2",
|
|
|
|
"tab-content.item#desc3",
|
|
|
|
"tab-content.item#desc4",
|
|
|
|
"tab-content.item#desc5"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tab-content.item#desc1": {
|
|
|
|
"children": [
|
|
|
|
"flex-layout.row#description-row"
|
|
|
|
],
|
|
|
|
"props": {
|
|
|
|
"tabId": "desc1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-content.item#desc2": {
|
2023-02-07 14:40:28 +00:00
|
|
|
"children": [
|
|
|
|
"flex-layout.row#description-row"
|
|
|
|
],
|
2023-01-26 18:23:31 +00:00
|
|
|
"props": {
|
|
|
|
"tabId": "desc2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-content.item#desc3": {
|
2023-02-07 14:40:28 +00:00
|
|
|
"children": [
|
|
|
|
"flex-layout.row#description-row"
|
|
|
|
],
|
2023-01-26 18:23:31 +00:00
|
|
|
"props": {
|
2023-02-03 18:33:31 +00:00
|
|
|
"tabId": "desc3"
|
2023-01-26 18:23:31 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-content.item#desc4": {
|
2023-02-07 14:40:28 +00:00
|
|
|
"children": [
|
|
|
|
"flex-layout.row#description-row"
|
|
|
|
],
|
2023-01-26 18:23:31 +00:00
|
|
|
"props": {
|
2023-02-03 18:33:31 +00:00
|
|
|
"tabId": "desc4"
|
2023-01-26 18:23:31 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-content.item#desc5": {
|
2023-02-07 14:40:28 +00:00
|
|
|
"children": [
|
|
|
|
"flex-layout.row#description-row"
|
|
|
|
],
|
2023-01-26 18:23:31 +00:00
|
|
|
"props": {
|
2023-02-03 18:33:31 +00:00
|
|
|
"tabId": "desc5"
|
2023-01-26 18:23:31 +00:00
|
|
|
}
|
|
|
|
},
|
2023-01-20 16:19:56 +00:00
|
|
|
"html#breadcrumb": {
|
|
|
|
"props": {
|
|
|
|
"tag": "section",
|
2023-01-20 16:35:32 +00:00
|
|
|
"testId": "breadcrumbs",
|
2023-01-20 16:19:56 +00:00
|
|
|
"blockClass": "pdp-breadcrumb"
|
|
|
|
},
|
2023-01-26 18:23:31 +00:00
|
|
|
"children": [
|
|
|
|
"breadcrumb"
|
|
|
|
]
|
2023-01-20 16:19:56 +00:00
|
|
|
},
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#specifications-title": {
|
2023-01-26 18:23:31 +00:00
|
|
|
"children": [
|
|
|
|
"rich-text#specifications"
|
|
|
|
]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"rich-text#specifications": {
|
|
|
|
"props": {
|
|
|
|
"text": "##### Product Specifications"
|
|
|
|
}
|
|
|
|
},
|
2023-01-26 18:23:31 +00:00
|
|
|
"flex-layout.row#description-row": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
2023-01-26 18:23:31 +00:00
|
|
|
"blockClass": "description-row"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"flex-layout.col#image-description",
|
|
|
|
"flex-layout.col#description"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"flex-layout.col#description": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "description"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"product-description"
|
|
|
|
]
|
|
|
|
},
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#product-description": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-description"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"tab-layout#desc"
|
|
|
|
]
|
|
|
|
},
|
2023-01-26 18:23:31 +00:00
|
|
|
"product-description": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "product-description-m3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#image-description": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "image-description"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-01-26 18:23:31 +00:00
|
|
|
"children": [
|
|
|
|
"image#img-descricao"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"image#img-descricao": {
|
|
|
|
"props": {
|
2023-01-26 20:02:41 +00:00
|
|
|
"blockClass": "img-descricao",
|
2023-01-26 18:23:31 +00:00
|
|
|
"src": "https://agenciamagma.vtexassets.com/arquivos/ids/164491-800-auto?v=637781133812700000&width=800&height=auto&aspect=true"
|
|
|
|
}
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"condition-layout.product#availability": {
|
|
|
|
"props": {
|
|
|
|
"conditions": [
|
|
|
|
{
|
|
|
|
"subject": "isProductAvailable"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"Then": "flex-layout.row#product-main",
|
|
|
|
"Else": "flex-layout.row#product-availability"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.row#product-main": {
|
|
|
|
"props": {
|
|
|
|
"colGap": 7,
|
|
|
|
"rowGap": 7,
|
|
|
|
"marginTop": 4,
|
|
|
|
"marginBottom": 7,
|
|
|
|
"paddingTop": 7,
|
|
|
|
"paddingBottom": 7
|
|
|
|
},
|
2023-01-26 18:23:31 +00:00
|
|
|
"children": [
|
|
|
|
"flex-layout.col#stack",
|
|
|
|
"flex-layout.col#right-col"
|
|
|
|
]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"stack-layout": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "product"
|
|
|
|
},
|
|
|
|
"children": [
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#imagens",
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-bookmark",
|
|
|
|
"product-specification-badges"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"product-specification-badges": {
|
|
|
|
"props": {
|
|
|
|
"specificationGroupName": "Group",
|
|
|
|
"specificationName": "On Sale",
|
|
|
|
"visibleWhen": "True",
|
|
|
|
"displayValue": "SPECIFICATION_NAME"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#stack": {
|
2023-01-26 18:23:31 +00:00
|
|
|
"children": [
|
|
|
|
"stack-layout"
|
|
|
|
],
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
2023-01-30 20:00:14 +00:00
|
|
|
"width": "54%",
|
2023-01-12 16:56:35 +00:00
|
|
|
"rowGap": 0
|
|
|
|
}
|
|
|
|
},
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#imagens": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-images"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"product-images"
|
|
|
|
]
|
|
|
|
},
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#product-image": {
|
2023-01-26 18:23:31 +00:00
|
|
|
"children": [
|
|
|
|
"product-images"
|
|
|
|
]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"product-images": {
|
|
|
|
"props": {
|
|
|
|
"aspectRatio": {
|
|
|
|
"desktop": "auto",
|
2023-02-08 19:26:28 +00:00
|
|
|
"phone": "1:1"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-01-30 20:00:14 +00:00
|
|
|
"thumbnailsOrientation": "horizontal",
|
|
|
|
"displayThumbnailsArrows": false,
|
|
|
|
"showNavigationArrows": false,
|
|
|
|
"showPaginationDots": false
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#right-col": {
|
|
|
|
"props": {
|
|
|
|
"preventVerticalStretch": true,
|
|
|
|
"rowGap": 0
|
|
|
|
},
|
|
|
|
"children": [
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#product-name",
|
|
|
|
"html#codigo",
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-rating-summary",
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#selling-price",
|
|
|
|
"html#product-installments",
|
|
|
|
"html#pixacademy",
|
2023-02-09 14:11:20 +00:00
|
|
|
"availability-subscriber",
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#sku-selector",
|
2023-01-31 20:39:32 +00:00
|
|
|
"html#quantityAndButton",
|
2023-02-08 16:33:21 +00:00
|
|
|
"Placeholder",
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#shipping-simulator"
|
|
|
|
]
|
|
|
|
},
|
2023-02-09 14:11:20 +00:00
|
|
|
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#selling-price": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-price"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"product-selling-price"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"html#pixacademy": {
|
|
|
|
"props": {
|
|
|
|
"testId": "pix-price",
|
|
|
|
"blockClass": "pix-wrapper"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"Pix-academy"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"html#product-installments": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-installments"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"product-installments"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"html#product-name": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-name"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"vtex.store-components:product-name"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"flex-layout.row#product-name": {
|
|
|
|
"props": {
|
2023-01-26 18:23:31 +00:00
|
|
|
"marginBottom": 3,
|
2023-02-07 14:40:28 +00:00
|
|
|
"blockClass": "product-name",
|
|
|
|
"testId": "product-name"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-01-26 18:23:31 +00:00
|
|
|
"children": [
|
|
|
|
"vtex.store-components:product-name"
|
|
|
|
]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#sku-selector": {
|
|
|
|
"props": {
|
|
|
|
"testId": "sku-selector"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"sku-selector"
|
|
|
|
]
|
|
|
|
},
|
2023-01-12 16:56:35 +00:00
|
|
|
"sku-selector": {
|
|
|
|
"props": {
|
|
|
|
"variationsSpacing": 3,
|
|
|
|
"showValueNameForImageVariation": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.row#buy-button": {
|
|
|
|
"props": {
|
|
|
|
"marginTop": 4,
|
|
|
|
"marginBottom": 7
|
|
|
|
},
|
2023-01-26 18:23:31 +00:00
|
|
|
"children": [
|
|
|
|
"add-to-cart-button"
|
|
|
|
]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-02-03 18:33:31 +00:00
|
|
|
"html#add-to-cart-button": {
|
|
|
|
"props": {
|
2023-02-07 14:40:28 +00:00
|
|
|
"blockClass": "add-to-cart-button",
|
2023-02-03 18:33:31 +00:00
|
|
|
"testId": "add-to-cart-button"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"add-to-cart-button"
|
|
|
|
]
|
|
|
|
},
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#product-availability": {
|
|
|
|
"props": {
|
|
|
|
"colGap": 7,
|
|
|
|
"marginTop": 4,
|
|
|
|
"marginBottom": 7,
|
|
|
|
"paddingTop": 7
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"flex-layout.col#stack",
|
|
|
|
"flex-layout.col#right-col-availability"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"flex-layout.col#right-col-availability": {
|
|
|
|
"props": {
|
|
|
|
"preventVerticalStretch": true,
|
|
|
|
"rowGap": 0,
|
|
|
|
"blockClass": "info-availability"
|
|
|
|
},
|
|
|
|
"children": [
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#product-name",
|
|
|
|
"html#codigo",
|
2023-02-09 14:11:20 +00:00
|
|
|
"flex-layout.row#availability",
|
|
|
|
"html#sku-selector"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
2023-02-07 14:40:28 +00:00
|
|
|
"html#codigo": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "codigo",
|
|
|
|
"testId": "product-code"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"product-identifier.product"
|
|
|
|
]
|
|
|
|
},
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#availability": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "message-availability"
|
|
|
|
},
|
2023-01-26 18:23:31 +00:00
|
|
|
"children": [
|
|
|
|
"availability-subscriber"
|
|
|
|
]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"share#default": {
|
|
|
|
"props": {
|
|
|
|
"social": {
|
|
|
|
"Facebook": true,
|
|
|
|
"WhatsApp": true,
|
|
|
|
"Twitter": false,
|
|
|
|
"Pinterest": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-08 16:33:21 +00:00
|
|
|
}
|