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-01-26 23:40:53 +00:00
|
|
|
// "flex-layout.row#description",
|
|
|
|
"tab-layout#description",
|
2023-01-27 12:32:52 +00:00
|
|
|
// "flex-layout.row#specifications-title",
|
|
|
|
// "product-specification-group#table",
|
2023-01-27 23:39:51 +00:00
|
|
|
// "shelf.relatedProducts",
|
|
|
|
"html#slider-block-container",
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-questions-and-answers"
|
|
|
|
]
|
|
|
|
},
|
2023-01-27 23:39:51 +00:00
|
|
|
//
|
|
|
|
"html#slider-block-container": {
|
|
|
|
"children": [
|
|
|
|
"rich-text#slider-block-title",
|
|
|
|
"html#list-context.product-list#slider-block"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"rich-text#slider-block-title": {
|
|
|
|
"props": {
|
|
|
|
"text": "### Você também pode gostar:",
|
|
|
|
"blockClass": "slider-title"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"product-summary.shelf#slider-block": {
|
|
|
|
"children": ["html#product-summary.shelf#product-content"]
|
|
|
|
},
|
|
|
|
"html#product-summary.shelf#product-content": {
|
|
|
|
"props": {
|
|
|
|
"testId": "vtex-product-summary"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"product-summary-image#slider-images",
|
|
|
|
"product-summary-name",
|
|
|
|
// "product-summary-space",
|
|
|
|
"product-summary-price"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"product-summary-image#slider-images": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "product-summary-image",
|
|
|
|
"showBadge": false,
|
|
|
|
"aspectRatio": "1:1"
|
|
|
|
// "maxHeight": 300
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"list-context.product-list#slider-block": {
|
|
|
|
"blocks": ["product-summary.shelf#slider-block"],
|
|
|
|
"children": ["html#slider-layout#products-carousel"]
|
|
|
|
},
|
|
|
|
"html#list-context.product-list#slider-block": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-summary-list"
|
|
|
|
},
|
|
|
|
"children": ["list-context.product-list#slider-block"]
|
|
|
|
},
|
|
|
|
"html#slider-layout#products-carousel": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-summary-list"
|
|
|
|
},
|
|
|
|
"children": ["slider-layout#products-carousel"]
|
|
|
|
},
|
|
|
|
"slider-layout#products-carousel": {
|
|
|
|
"props": {
|
|
|
|
"itemsPerPage": {
|
|
|
|
"desktop": 4,
|
2023-01-30 17:11:44 +00:00
|
|
|
"tablet": 3,
|
|
|
|
"phone": 2
|
2023-01-27 23:39:51 +00:00
|
|
|
},
|
|
|
|
"infinite": true,
|
2023-01-30 17:11:44 +00:00
|
|
|
"showNavigationArrows": "always",
|
2023-01-27 23:39:51 +00:00
|
|
|
"blockClass": "carousel"
|
|
|
|
}
|
|
|
|
},
|
2023-02-01 13:12:24 +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"
|
|
|
|
},
|
|
|
|
"children": ["breadcrumb"]
|
|
|
|
},
|
2023-01-26 23:40:53 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"condition-layout.product#availability": {
|
|
|
|
"props": {
|
|
|
|
"conditions": [
|
|
|
|
{
|
|
|
|
"subject": "isProductAvailable"
|
|
|
|
}
|
|
|
|
],
|
2023-01-30 17:11:44 +00:00
|
|
|
"Then": "html#product-main",
|
|
|
|
"Else": "html#product-availability"
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
2023-01-30 17:11:44 +00:00
|
|
|
"html#product-main": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
2023-01-30 17:11:44 +00:00
|
|
|
"blockClass": "product-main-content"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-01-30 17:11:44 +00:00
|
|
|
"children": ["html#flex-layout.col#stack", "html#right-col"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"stack-layout": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "product"
|
|
|
|
},
|
|
|
|
"children": [
|
2023-01-24 19:30:24 +00:00
|
|
|
"html#flex-layout.row#product-image",
|
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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-01-30 17:11:44 +00:00
|
|
|
"html#flex-layout.col#stack": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"children": ["stack-layout"],
|
|
|
|
"props": {
|
2023-01-24 19:30:24 +00:00
|
|
|
"blockClass": "stack-layout-content",
|
2023-01-12 16:56:35 +00:00
|
|
|
"rowGap": 0
|
|
|
|
}
|
|
|
|
},
|
2023-01-24 19:30:24 +00:00
|
|
|
"html#flex-layout.row#product-image": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-images"
|
|
|
|
},
|
2023-01-12 16:56:35 +00:00
|
|
|
"children": ["product-images"]
|
|
|
|
},
|
|
|
|
"product-images": {
|
|
|
|
"props": {
|
|
|
|
"aspectRatio": {
|
|
|
|
"desktop": "auto",
|
|
|
|
"phone": "16:9"
|
|
|
|
},
|
2023-01-23 12:19:22 +00:00
|
|
|
"displayThumbnailsArrows": false,
|
2023-01-23 20:43:53 +00:00
|
|
|
"showPaginationDots": false,
|
|
|
|
"thumbnailsOrientation": "horizontal"
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
2023-01-26 23:40:53 +00:00
|
|
|
"product-images#description-content": {
|
|
|
|
"props": {
|
|
|
|
"displayMode": "first-image",
|
|
|
|
"zoomMode": "disable",
|
|
|
|
"blockClass": "image-description"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-layout#description": {
|
|
|
|
"children": ["tab-list#description", "tab-content#description"],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "description-block",
|
|
|
|
"defaultActiveTabId": "firstTab"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list#description": {
|
|
|
|
"children": [
|
|
|
|
"tab-list.item#firstTab",
|
|
|
|
"tab-list.item#secondTab",
|
|
|
|
"tab-list.item#thirdTab",
|
|
|
|
"tab-list.item#fourthTab",
|
|
|
|
"tab-list.item#fifthTab"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tab-list.item#firstTab": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "firstTab",
|
|
|
|
"label": "Descrição",
|
|
|
|
"defaultActiveTab": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#secondTab": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "secondTab",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#thirdTab": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "thirdTab",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#fourthTab": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "fourthTab",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#fifthTab": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "fifthTab",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-content#description": {
|
|
|
|
"children": [
|
|
|
|
"tab-content.item#firstTab",
|
|
|
|
"tab-content.item#secondTab",
|
|
|
|
"tab-content.item#thirdTab",
|
|
|
|
"tab-content.item#fourthTab",
|
|
|
|
"tab-content.item#fifthTab"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"tab-content.item#firstTab": {
|
|
|
|
"children": ["product-images#description-content", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "firstTab"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-content.item#secondTab": {
|
|
|
|
"children": ["product-images#description-content", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "secondTab"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-content.item#thirdTab": {
|
|
|
|
"children": ["product-images#description-content", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "thirdTab"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-content.item#fourthTab": {
|
|
|
|
"children": ["product-images#description-content", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "fourthTab"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-content.item#fifthTab": {
|
|
|
|
"children": ["product-images#description-content", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "fifthTab"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
//
|
2023-01-26 13:35:13 +00:00
|
|
|
"html#right-col": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
|
|
|
"preventVerticalStretch": true,
|
|
|
|
"rowGap": 0
|
|
|
|
},
|
|
|
|
"children": [
|
2023-01-30 17:11:44 +00:00
|
|
|
"html#identification-product",
|
2023-01-26 13:35:13 +00:00
|
|
|
// "product-rating-summary",
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#selling-price",
|
2023-01-24 23:37:43 +00:00
|
|
|
"installment-product-component",
|
2023-01-25 15:47:22 +00:00
|
|
|
"html#pix-component",
|
2023-01-26 13:35:13 +00:00
|
|
|
// "product-separator",
|
2023-01-26 01:11:52 +00:00
|
|
|
"html#sku-selector",
|
2023-01-26 13:35:13 +00:00
|
|
|
// "product-quantity",
|
|
|
|
"html#cart-content",
|
2023-02-01 13:12:24 +00:00
|
|
|
// "product-assembly-options",
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-gifts",
|
2023-01-26 13:35:13 +00:00
|
|
|
// "flex-layout.row#buy-button",
|
2023-01-12 16:56:35 +00:00
|
|
|
"availability-subscriber",
|
2023-01-27 12:32:52 +00:00
|
|
|
"shipping-simulator",
|
|
|
|
"placeholder-component"
|
2023-01-26 23:40:53 +00:00
|
|
|
// "share#default"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
2023-01-30 17:11:44 +00:00
|
|
|
"html#identification-product": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "identification-product-content"
|
|
|
|
},
|
|
|
|
"children": ["html#product-name", "product-identifier.product"]
|
|
|
|
},
|
2023-01-26 13:35:13 +00:00
|
|
|
"html#cart-content": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "cart-content"
|
|
|
|
},
|
|
|
|
"children": ["html#product-quantity", "html#flex-layout.row#buy-button"]
|
|
|
|
},
|
|
|
|
"html#product-quantity": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-quantity"
|
|
|
|
},
|
|
|
|
"children": ["product-quantity"]
|
|
|
|
},
|
|
|
|
"html#flex-layout.row#buy-button": {
|
|
|
|
"props": {
|
|
|
|
"testId": "add-to-cart-button"
|
|
|
|
},
|
|
|
|
"children": ["flex-layout.row#buy-button"]
|
|
|
|
},
|
2023-01-25 15:47:22 +00:00
|
|
|
"html#pix-component": {
|
|
|
|
"props": {
|
|
|
|
"testId": "pix-price"
|
|
|
|
},
|
|
|
|
"children": ["pix-component"]
|
|
|
|
},
|
2023-01-30 17:11:44 +00:00
|
|
|
"html#product-name": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
|
|
|
"marginBottom": 3
|
|
|
|
},
|
|
|
|
"children": ["vtex.store-components:product-name"]
|
|
|
|
},
|
2023-01-31 17:50:38 +00:00
|
|
|
|
2023-01-26 13:35:13 +00:00
|
|
|
"html#sku-selector": {
|
2023-01-26 01:11:52 +00:00
|
|
|
"props": {
|
|
|
|
"testId": "sku-selector"
|
|
|
|
},
|
|
|
|
"children": ["sku-selector"]
|
|
|
|
},
|
2023-01-12 16:56:35 +00:00
|
|
|
"sku-selector": {
|
|
|
|
"props": {
|
|
|
|
"variationsSpacing": 3,
|
2023-01-26 01:11:52 +00:00
|
|
|
"showValueNameForImageVariation": true,
|
|
|
|
"blockClass": "sku-selector"
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"flex-layout.row#buy-button": {
|
|
|
|
"props": {
|
|
|
|
"marginTop": 4,
|
|
|
|
"marginBottom": 7
|
|
|
|
},
|
|
|
|
"children": ["add-to-cart-button"]
|
|
|
|
},
|
|
|
|
|
2023-01-30 17:11:44 +00:00
|
|
|
"html#product-availability": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
2023-01-30 17:11:44 +00:00
|
|
|
"blockClass": "product-availability-block"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-01-30 17:11:44 +00:00
|
|
|
"children": ["html#flex-layout.col#stack", "html#right-col-availability"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-01-26 13:35:13 +00:00
|
|
|
"html#right-col-availability": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
|
|
|
"preventVerticalStretch": true,
|
|
|
|
"rowGap": 0,
|
|
|
|
"blockClass": "info-availability"
|
|
|
|
},
|
|
|
|
"children": [
|
2023-01-30 17:11:44 +00:00
|
|
|
"html#identification-product-availability",
|
|
|
|
"flex-layout.row#availability",
|
|
|
|
"html#sku-selector"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
2023-01-30 17:11:44 +00:00
|
|
|
"html#identification-product-availability": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "identification-product-availability"
|
|
|
|
},
|
|
|
|
"children": ["html#product-name", "product-identifier.product"]
|
|
|
|
},
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#availability": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "message-availability"
|
|
|
|
},
|
|
|
|
"children": ["availability-subscriber"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"share#default": {
|
|
|
|
"props": {
|
|
|
|
"social": {
|
|
|
|
"Facebook": true,
|
|
|
|
"WhatsApp": true,
|
|
|
|
"Twitter": false,
|
|
|
|
"Pinterest": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|