2023-01-12 16:56:35 +00:00
|
|
|
{
|
|
|
|
"store.product": {
|
|
|
|
"children": [
|
2023-01-20 14:59:33 +00:00
|
|
|
"html#breadcrumb",
|
2023-01-31 00:25:02 +00:00
|
|
|
"placeholder-component",
|
2023-01-12 16:56:35 +00:00
|
|
|
"condition-layout.product#availability",
|
2023-01-27 15:38:59 +00:00
|
|
|
"tab-layout#description",
|
2023-01-31 00:25:02 +00:00
|
|
|
// "flex-layout.row#specifications-title",
|
|
|
|
// "product-specification-group#table",
|
|
|
|
// "shelf.relatedProducts",
|
|
|
|
"html#slider-block-container"
|
|
|
|
// "product-questions-and-answers"
|
2023-01-12 16:56:35 +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-31 00:25:02 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#specifications-title": {
|
|
|
|
"children": ["rich-text#specifications"]
|
|
|
|
},
|
|
|
|
"rich-text#specifications": {
|
|
|
|
"props": {
|
|
|
|
"text": "##### Product Specifications"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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,
|
2023-01-24 13:52:58 +00:00
|
|
|
"paddingBottom": 7,
|
|
|
|
"blockClass": "product__image"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"stack-layout": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "product"
|
|
|
|
},
|
|
|
|
"children": [
|
2023-01-24 15:02:55 +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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"flex-layout.col#stack": {
|
|
|
|
"children": ["stack-layout"],
|
|
|
|
"props": {
|
2023-01-25 00:07:05 +00:00
|
|
|
"width": "50%",
|
2023-01-12 16:56:35 +00:00
|
|
|
"rowGap": 0
|
|
|
|
}
|
|
|
|
},
|
2023-01-24 15:02:55 +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",
|
2023-01-24 13:52:58 +00:00
|
|
|
"phone": "auto"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-01-24 13:52:58 +00:00
|
|
|
"showPaginationDots": false,
|
|
|
|
"thumbnailsOrientation": "horizontal",
|
|
|
|
"children": ["product-images"]
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#right-col": {
|
|
|
|
"props": {
|
|
|
|
"preventVerticalStretch": true,
|
2023-01-25 00:07:05 +00:00
|
|
|
"rowGap": 0,
|
|
|
|
"blockClass": "product-skus"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"flex-layout.row#product-name",
|
2023-01-25 00:07:05 +00:00
|
|
|
"product-identifier.product",
|
2023-01-25 22:15:57 +00:00
|
|
|
// "product-rating-summary", // avaliações
|
2023-01-25 00:07:05 +00:00
|
|
|
// "flex-layout.row#list-price-savings", preço com promoção vindo vtex
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#selling-price",
|
2023-01-25 13:43:53 +00:00
|
|
|
"installment-component",
|
2023-01-25 17:39:37 +00:00
|
|
|
"html#pix-component",
|
|
|
|
// "product-separator", //linha que separa preço de skus
|
2023-01-26 16:15:59 +00:00
|
|
|
"html#sku-selector",
|
|
|
|
"flex-layout.row#quantity-and-button",
|
|
|
|
// "product-assembly-options",
|
|
|
|
// "product-gifts",
|
|
|
|
// "flex-layout.row#buy-button",
|
2023-01-12 16:56:35 +00:00
|
|
|
"availability-subscriber",
|
2023-01-27 00:46:07 +00:00
|
|
|
"html#shipping-simulator"
|
2023-01-27 15:38:59 +00:00
|
|
|
// "share#default" //reder social
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
"flex-layout.row#product-name": {
|
|
|
|
"props": {
|
2023-01-25 00:07:05 +00:00
|
|
|
"blockClass": "product__name"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": ["vtex.store-components:product-name"]
|
|
|
|
},
|
|
|
|
|
2023-01-26 16:15:59 +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,
|
2023-01-25 13:43:53 +00:00
|
|
|
"showValueNameForImageVariation": true,
|
|
|
|
"blockClass": "sku-product"
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-01-25 17:39:37 +00:00
|
|
|
"html#pix-component": {
|
|
|
|
"props": {
|
|
|
|
"tag": "section",
|
|
|
|
"testId": "pix-price"
|
|
|
|
},
|
|
|
|
"children": ["pix-component"]
|
|
|
|
},
|
|
|
|
|
2023-01-26 16:15:59 +00:00
|
|
|
"html#product-quantity": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "product-quantity",
|
|
|
|
"tag": "section",
|
|
|
|
"testId": "product-quantity"
|
|
|
|
},
|
|
|
|
"children": ["product-quantity"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"html#button-addCart": {
|
|
|
|
"props": {
|
|
|
|
"tag": "section",
|
|
|
|
"testId": "add-to-cart-button",
|
|
|
|
"blockClass": "buy-button"
|
|
|
|
},
|
|
|
|
"children": ["flex-layout.row#buy-button"]
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#buy-button": {
|
|
|
|
"props": {
|
2023-01-26 16:15:59 +00:00
|
|
|
"blockClass": "buy-button",
|
|
|
|
"width": "100%"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": ["add-to-cart-button"]
|
|
|
|
},
|
|
|
|
|
2023-01-26 16:15:59 +00:00
|
|
|
"flex-layout.row#quantity-and-button": {
|
|
|
|
"props":{
|
|
|
|
"tag": "section",
|
|
|
|
"blockClass": "quantityButton"
|
|
|
|
},
|
|
|
|
"children": ["html#product-quantity","html#button-addCart"]
|
|
|
|
},
|
|
|
|
|
2023-01-26 19:17:32 +00:00
|
|
|
"html#shipping-simulator": {
|
|
|
|
"props":{
|
|
|
|
"blockClass": "cep"
|
|
|
|
},
|
|
|
|
"children": ["shipping-simulator"]
|
|
|
|
},
|
|
|
|
|
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": [
|
|
|
|
"flex-layout.row#product-name",
|
|
|
|
"product-identifier.product",
|
2023-02-01 14:14:18 +00:00
|
|
|
"flex-layout.row#availability",
|
|
|
|
"sku-selector"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"flex-layout.row#availability": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "message-availability"
|
|
|
|
},
|
|
|
|
"children": ["availability-subscriber"]
|
|
|
|
},
|
|
|
|
|
2023-01-31 00:25:02 +00:00
|
|
|
"flex-layout.row#description": {
|
|
|
|
"props": {
|
|
|
|
"marginBottom": 7
|
|
|
|
},
|
|
|
|
"children": ["product-description"]
|
|
|
|
},
|
|
|
|
"product-images#description-content": {
|
|
|
|
"props": {
|
|
|
|
"displayMode": "first-image",
|
2023-02-02 14:36:35 +00:00
|
|
|
"zoomMode": "disabled",
|
2023-01-31 00:25:02 +00:00
|
|
|
"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"
|
|
|
|
],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "description-content"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"html#slider-block-container": {
|
|
|
|
"children": ["rich-text#slider-block-title", "html#list-context.product-list#slider-block"],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "slider-container"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"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#slider-block"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"html#product-summary.shelf#slider-block": {
|
|
|
|
"props": {
|
|
|
|
"testId": "vtex-product-summary",
|
|
|
|
"blockClass": "slider-product"
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"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,
|
|
|
|
"tablet": 3,
|
|
|
|
"phone": 2
|
|
|
|
},
|
|
|
|
"infinite": true,
|
|
|
|
"blockClass": "carousel"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"share#default": {
|
|
|
|
"props": {
|
|
|
|
"social": {
|
|
|
|
"Facebook": true,
|
|
|
|
"WhatsApp": true,
|
|
|
|
"Twitter": false,
|
|
|
|
"Pinterest": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|