2023-01-12 16:56:35 +00:00
|
|
|
{
|
|
|
|
"store.product": {
|
|
|
|
"children": [
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#breadcontainer",
|
2023-01-24 04:00:05 +00:00
|
|
|
//"example-component",
|
2023-01-12 16:56:35 +00:00
|
|
|
"condition-layout.product#availability",
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#product-description",
|
2023-02-09 10:47:26 +00:00
|
|
|
//"flex-layout.row#specifications-title",
|
|
|
|
//"product-specification-group#table",
|
2023-02-10 15:23:49 +00:00
|
|
|
"flex-layout.row#shelf-row"
|
2023-02-09 10:47:26 +00:00
|
|
|
//"product-questions-and-answers"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
2023-02-09 10:47:26 +00:00
|
|
|
|
2023-02-10 15:23:49 +00:00
|
|
|
"flex-layout.row#shelf-row": {
|
|
|
|
"children": ["flex-layout.col#shelf-col"],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "shelf-product-row"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#shelf-col": {
|
|
|
|
"children": ["rich-text#shelf-related", "list-context.product-list"],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "shelf-product-col"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"rich-text#shelf-related": {
|
|
|
|
"props": {
|
|
|
|
"text": "### Você também pode gostar:",
|
|
|
|
"blockClass": "shelf-title"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"list-context.product-list": {
|
2023-02-10 18:41:19 +00:00
|
|
|
"children": ["html#slider"],
|
2023-02-10 15:23:49 +00:00
|
|
|
"blocks": ["product-summary.shelf"]
|
|
|
|
},
|
|
|
|
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#slider": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-summary-list"
|
|
|
|
},
|
|
|
|
"children": ["slider-layout#shelf-prod"]
|
|
|
|
},
|
|
|
|
|
2023-02-10 15:23:49 +00:00
|
|
|
"slider-layout#shelf-prod": {
|
|
|
|
"props": {
|
|
|
|
"itemsPerPage": {
|
|
|
|
"(min-width:1025px)": 4,
|
|
|
|
"(min-width:768px)": 3,
|
|
|
|
"(max-width:767px)": 2
|
|
|
|
},
|
|
|
|
"infinite": true,
|
|
|
|
"showNavigationArrows": "always",
|
|
|
|
"showPaginationDots": "always",
|
2023-02-10 18:41:19 +00:00
|
|
|
"blockClass": "slide-shelf"
|
2023-02-10 15:23:49 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#breadcontainer": {
|
2023-01-20 16:19:56 +00:00
|
|
|
"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-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": {
|
2023-01-24 04:00:05 +00:00
|
|
|
"blockClass": "productPanel",
|
2023-01-12 16:56:35 +00:00
|
|
|
"colGap": 7,
|
|
|
|
"rowGap": 7,
|
|
|
|
"marginTop": 4,
|
|
|
|
"marginBottom": 7,
|
|
|
|
"paddingTop": 7,
|
|
|
|
"paddingBottom": 7
|
|
|
|
},
|
|
|
|
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"stack-layout": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "product"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"flex-layout.row#product-image",
|
|
|
|
"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-02-10 17:21:19 +00:00
|
|
|
"width": "50%",
|
2023-01-24 04:00:05 +00:00
|
|
|
"rowGap": 0,
|
|
|
|
"blockClass": "productShowcase"
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.row#product-image": {
|
2023-02-10 18:41:19 +00:00
|
|
|
"children": ["html#imagens"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-02-10 18:41:19 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-images": {
|
|
|
|
"props": {
|
|
|
|
"aspectRatio": {
|
2023-02-09 11:43:00 +00:00
|
|
|
"desktop": "auto"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-01-24 04:00:05 +00:00
|
|
|
"thumbnailsOrientation": "horizontal",
|
|
|
|
"displayThumbnailsArrows": true,
|
|
|
|
"showNavigationArrows": false,
|
2023-02-10 17:21:19 +00:00
|
|
|
"showPaginationDots": false,
|
|
|
|
"contentType": "images"
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
2023-02-03 00:37:40 +00:00
|
|
|
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#imagens": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-images"
|
|
|
|
},
|
|
|
|
"children": ["product-images"]
|
|
|
|
},
|
|
|
|
|
2023-02-03 00:37:40 +00:00
|
|
|
"product-installments": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "sellingInfo"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#product-installments": {
|
2023-02-03 00:37:40 +00:00
|
|
|
"props": {
|
2023-02-10 18:41:19 +00:00
|
|
|
"testId": "product-installments"
|
|
|
|
},
|
|
|
|
"children": ["product-installments"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"html#selling-price": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-price",
|
2023-02-03 00:37:40 +00:00
|
|
|
"blockClass": "sellingPrice"
|
|
|
|
},
|
|
|
|
"children": ["product-selling-price"]
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.col#right-col": {
|
|
|
|
"props": {
|
2023-02-09 00:28:55 +00:00
|
|
|
"blockClass": "rightCol",
|
2023-01-12 16:56:35 +00:00
|
|
|
"preventVerticalStretch": true,
|
|
|
|
"rowGap": 0
|
|
|
|
},
|
|
|
|
"children": [
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#product-name",
|
|
|
|
"html#codigo",
|
2023-02-09 10:47:26 +00:00
|
|
|
//"availability-subscriber",
|
|
|
|
//"product-assembly-options",
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-rating-summary",
|
2023-01-24 04:00:05 +00:00
|
|
|
//"flex-layout.row#list-price-savings",
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#selling-price",
|
|
|
|
"html#product-installments",
|
|
|
|
"html#pixzap",
|
2023-02-03 00:37:40 +00:00
|
|
|
//"product-separator",
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#sku-selector",
|
2023-02-09 10:47:26 +00:00
|
|
|
//"product-gifts",
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#buy-button",
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#shipping-simulator",
|
2023-02-09 00:28:55 +00:00
|
|
|
"placeholder-component"
|
2023-01-24 04:00:05 +00:00
|
|
|
//"share#default"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#shipping-simulator": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
2023-02-10 18:41:19 +00:00
|
|
|
"testId": "shipping-simulator"
|
|
|
|
},
|
|
|
|
"children": ["shipping-simulator"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"html#pixzap": {
|
|
|
|
"props": {
|
|
|
|
"testId": "pix-price"
|
|
|
|
},
|
|
|
|
"children": ["pix-component"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"html#codigo": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-code"
|
|
|
|
},
|
|
|
|
"children": ["product-identifier.product"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"html#product-name": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-name",
|
2023-02-06 23:47:29 +00:00
|
|
|
"marginBottom": 3,
|
|
|
|
"blockClass": "productName"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": ["vtex.store-components:product-name"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"sku-selector": {
|
|
|
|
"props": {
|
|
|
|
"variationsSpacing": 3,
|
2023-02-10 17:21:19 +00:00
|
|
|
"showValueNameForImageVariation": true,
|
|
|
|
"hideImpossibleCombinations": false
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#sku-selector": {
|
|
|
|
"props": {
|
|
|
|
"testId": "sku-selector"
|
|
|
|
},
|
|
|
|
"children": ["sku-selector"]
|
|
|
|
},
|
|
|
|
|
2023-02-03 00:37:40 +00:00
|
|
|
"product-quantity": {
|
|
|
|
"props": {
|
|
|
|
"size": "large",
|
|
|
|
"showLabel": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#product-quantity": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-quantity"
|
|
|
|
},
|
|
|
|
"children": ["product-quantity"]
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#buy-button": {
|
|
|
|
"props": {
|
|
|
|
"marginTop": 4,
|
2023-02-03 00:37:40 +00:00
|
|
|
"marginBottom": 7,
|
|
|
|
"blockClass": "quantityAndBuy"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-02-10 18:41:19 +00:00
|
|
|
"children": ["html#product-quantity", "html#add-to-cart-button"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
|
2023-02-10 18:41:19 +00:00
|
|
|
"add-to-cart-button#addSacola": {
|
2023-02-06 23:47:29 +00:00
|
|
|
"props": {
|
|
|
|
"blockClass": "addToCartButton",
|
|
|
|
"text": "ADICIONAR À SACOLA"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#add-to-cart-button": {
|
|
|
|
"props": {
|
|
|
|
"testId": "add-to-cart-button"
|
|
|
|
},
|
|
|
|
"children": ["add-to-cart-button#addSacola"]
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#product-availability": {
|
|
|
|
"props": {
|
2023-02-09 00:28:55 +00:00
|
|
|
"blockClass": "productPanel"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"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-10 18:41:19 +00:00
|
|
|
"html#product-name",
|
|
|
|
"html#codigo",
|
2023-02-09 00:28:55 +00:00
|
|
|
"flex-layout.row#availability",
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#sku-selector"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"flex-layout.row#availability": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "message-availability"
|
|
|
|
},
|
|
|
|
"children": ["availability-subscriber"]
|
2023-02-09 01:26:59 +00:00
|
|
|
},
|
2023-01-24 04:00:05 +00:00
|
|
|
|
|
|
|
// "share#default": {
|
|
|
|
// "props": {
|
|
|
|
// "social": {
|
|
|
|
// "Facebook": true,
|
|
|
|
// "WhatsApp": true,
|
|
|
|
// "Twitter": false,
|
|
|
|
// "Pinterest": true
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
2023-02-09 01:26:59 +00:00
|
|
|
|
|
|
|
"product-images#2": {
|
|
|
|
"props": {
|
2023-02-09 11:43:00 +00:00
|
|
|
"blockClass": "productImage2",
|
2023-02-09 01:26:59 +00:00
|
|
|
"aspectRatio": {
|
2023-02-09 11:43:00 +00:00
|
|
|
"desktop": "auto"
|
2023-02-09 01:26:59 +00:00
|
|
|
},
|
|
|
|
"displayMode": "first-image"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-layout": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "tabLayout"
|
|
|
|
},
|
|
|
|
"children": ["tab-list", "tab-content"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-list": {
|
|
|
|
"children": [
|
|
|
|
"tab-list.item#1",
|
|
|
|
"tab-list.item#2",
|
|
|
|
"tab-list.item#3",
|
|
|
|
"tab-list.item#4",
|
|
|
|
"tab-list.item#5"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-content": {
|
|
|
|
"children": [
|
|
|
|
"tab-content.item#1",
|
|
|
|
"tab-content.item#2",
|
|
|
|
"tab-content.item#3",
|
|
|
|
"tab-content.item#4",
|
|
|
|
"tab-content.item#5"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-list.item#1": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "Desc1",
|
|
|
|
"label": "Descrição",
|
|
|
|
"defaultActiveTab": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#2": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "Desc2",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#3": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "Desc3",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#4": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "Desc4",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tab-list.item#5": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "Desc5",
|
|
|
|
"label": "Descrição"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-02-10 17:21:19 +00:00
|
|
|
"product-description": {
|
|
|
|
"props": {
|
|
|
|
"collapseContent": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-02-10 18:41:19 +00:00
|
|
|
"html#product-description": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-description"
|
|
|
|
},
|
|
|
|
"children": ["tab-layout"]
|
|
|
|
},
|
|
|
|
|
2023-02-09 01:26:59 +00:00
|
|
|
"tab-content.item#1": {
|
|
|
|
"children": ["product-images#2", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "Desc1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-content.item#2": {
|
|
|
|
"children": ["product-images#2", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "Desc2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-content.item#3": {
|
|
|
|
"children": ["product-images#2", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "Desc3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-content.item#4": {
|
|
|
|
"children": ["product-images#2", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "Desc4"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-content.item#5": {
|
|
|
|
"children": ["product-images#2", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "Desc5"
|
|
|
|
}
|
|
|
|
}
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|