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
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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":{
|
2023-02-03 14:11:18 +00:00
|
|
|
"blockClass": "cep",
|
|
|
|
"testId": "shipping-simulator"
|
2023-01-26 19:17:32 +00:00
|
|
|
},
|
|
|
|
"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"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"share#default": {
|
|
|
|
"props": {
|
|
|
|
"social": {
|
|
|
|
"Facebook": true,
|
|
|
|
"WhatsApp": true,
|
|
|
|
"Twitter": false,
|
|
|
|
"Pinterest": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|