2023-01-12 16:56:35 +00:00
|
|
|
{
|
|
|
|
"store.product": {
|
|
|
|
"children": [
|
2023-01-22 05:01:04 +00:00
|
|
|
/*"html#breadcrumb",*/
|
|
|
|
"breadcrumb#teste1",
|
2023-01-12 16:56:35 +00:00
|
|
|
"condition-layout.product#availability",
|
2023-01-24 15:24:59 +00:00
|
|
|
"html#description",
|
|
|
|
/*"flex-layout.row#description",*/
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#specifications-title",
|
|
|
|
"product-specification-group#table",
|
|
|
|
"shelf.relatedProducts",
|
|
|
|
"product-questions-and-answers"
|
|
|
|
]
|
|
|
|
},
|
2023-01-22 05:01:04 +00:00
|
|
|
|
2023-01-24 15:24:59 +00:00
|
|
|
"html#description": {
|
|
|
|
"props": {
|
|
|
|
"tag": "section",
|
|
|
|
"testId": "description",
|
|
|
|
"blockClass": "description-container"
|
|
|
|
},
|
|
|
|
"children": ["html#description-image", "product-description"]
|
|
|
|
},
|
|
|
|
"html#description-image": {
|
|
|
|
"children": ["product-images#description"]
|
|
|
|
},
|
|
|
|
"product-images#description": {
|
|
|
|
"props": {
|
|
|
|
"displayMode": "first-image",
|
|
|
|
"blockClass": "description-imagem"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-01-22 05:01:04 +00:00
|
|
|
"breadcrumb#teste1": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "testebread",
|
|
|
|
"showOnMobile": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
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-12 16:56:35 +00:00
|
|
|
"flex-layout.row#specifications-title": {
|
|
|
|
"children": ["rich-text#specifications"]
|
|
|
|
},
|
|
|
|
"rich-text#specifications": {
|
|
|
|
"props": {
|
|
|
|
"text": "##### Product Specifications"
|
|
|
|
}
|
|
|
|
},
|
2023-01-24 15:24:59 +00:00
|
|
|
"product-description": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
2023-01-24 15:24:59 +00:00
|
|
|
"marginBottom": 7,
|
|
|
|
"blockClass": "descricao"
|
|
|
|
}
|
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,
|
2023-01-22 05:01:04 +00:00
|
|
|
"marginTop": 5,
|
2023-01-12 16:56:35 +00:00
|
|
|
"marginBottom": 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-01-22 05:01:04 +00:00
|
|
|
"width": "46%",
|
2023-01-12 16:56:35 +00:00
|
|
|
"rowGap": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.row#product-image": {
|
|
|
|
"children": ["product-images"]
|
|
|
|
},
|
|
|
|
"product-images": {
|
|
|
|
"props": {
|
2023-01-24 02:01:20 +00:00
|
|
|
"showNavigationArrows": false,
|
|
|
|
"showPaginationDots": false,
|
|
|
|
"thumbnailAspectRatio": "1:1",
|
|
|
|
"thumbnailMaxHeight": 90,
|
2023-01-23 22:15:33 +00:00
|
|
|
"thumbnailsOrientation": "horizontal",
|
2023-01-12 16:56:35 +00:00
|
|
|
"aspectRatio": {
|
2023-01-24 15:24:59 +00:00
|
|
|
"desktop": "1:1",
|
2023-01-12 16:56:35 +00:00
|
|
|
"phone": "16:9"
|
|
|
|
},
|
2023-01-22 05:01:04 +00:00
|
|
|
"displayThumbnailsArrows": false
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#right-col": {
|
|
|
|
"props": {
|
|
|
|
"preventVerticalStretch": true,
|
2023-01-24 02:01:20 +00:00
|
|
|
"rowGap": 0,
|
|
|
|
"width": "46%"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"flex-layout.row#product-name",
|
2023-01-22 05:01:04 +00:00
|
|
|
"html#codigo",
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-rating-summary",
|
2023-01-23 22:15:33 +00:00
|
|
|
/*"flex-layout.row#list-price-savings", desconto*/
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#selling-price",
|
|
|
|
"product-installments",
|
2023-01-22 05:01:04 +00:00
|
|
|
/*"product-separator",*/
|
2023-01-12 16:56:35 +00:00
|
|
|
"sku-selector",
|
2023-01-22 05:01:04 +00:00
|
|
|
/*"product-quantity",*/
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-assembly-options",
|
|
|
|
"product-gifts",
|
2023-01-22 05:01:04 +00:00
|
|
|
/*"flex-layout.row#buy-button",*/
|
|
|
|
"html#qtd-btn",
|
2023-01-12 16:56:35 +00:00
|
|
|
"availability-subscriber",
|
2023-01-22 23:02:29 +00:00
|
|
|
"shipping-simulator"
|
|
|
|
/*"share#default"*/
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2023-01-23 22:15:33 +00:00
|
|
|
"product-installments": {
|
|
|
|
"props": {
|
|
|
|
"installmentsCriteria": "max-quantity-without-interest",
|
|
|
|
"blockClass": "parcelamentos"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#product-name": {
|
|
|
|
"props": {
|
2023-01-22 05:01:04 +00:00
|
|
|
"marginBottom": 3,
|
|
|
|
"blockClass": "name"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": ["vtex.store-components:product-name"]
|
|
|
|
},
|
|
|
|
|
2023-01-22 05:01:04 +00:00
|
|
|
"html#codigo": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "codigo"
|
|
|
|
},
|
|
|
|
"children": ["product-identifier.product"]
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"sku-selector": {
|
|
|
|
"props": {
|
|
|
|
"variationsSpacing": 3,
|
2023-01-22 05:01:04 +00:00
|
|
|
"showValueNameForImageVariation": true,
|
|
|
|
"blockClass": "skus"
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"flex-layout.row#buy-button": {
|
|
|
|
"props": {
|
|
|
|
"marginTop": 4,
|
2023-01-22 05:01:04 +00:00
|
|
|
"marginBottom": 7,
|
|
|
|
"blockClass": "container-btn"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": ["add-to-cart-button"]
|
|
|
|
},
|
|
|
|
|
2023-01-22 05:01:04 +00:00
|
|
|
"html#qtd-btn": {
|
|
|
|
"props": {
|
|
|
|
"tag": "div",
|
|
|
|
"testId": "qtd-btn",
|
|
|
|
"blockClass": "qtd-btn"
|
|
|
|
},
|
|
|
|
"children": ["product-quantity", "add-to-cart-button"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"product-quantity": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "quantidade"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
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",
|
|
|
|
"sku-selector",
|
|
|
|
"flex-layout.row#availability"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"flex-layout.row#availability": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "message-availability"
|
|
|
|
},
|
|
|
|
"children": ["availability-subscriber"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"share#default": {
|
|
|
|
"props": {
|
|
|
|
"social": {
|
|
|
|
"Facebook": true,
|
|
|
|
"WhatsApp": true,
|
|
|
|
"Twitter": false,
|
|
|
|
"Pinterest": true
|
|
|
|
}
|
|
|
|
}
|
2023-01-22 23:02:29 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"shipping-simulator": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "frete"
|
|
|
|
}
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
}
|