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",
|
|
|
|
"flex-layout.row#description",
|
|
|
|
"flex-layout.row#specifications-title",
|
|
|
|
"product-specification-group#table",
|
|
|
|
"shelf.relatedProducts",
|
|
|
|
"product-questions-and-answers"
|
|
|
|
]
|
|
|
|
},
|
2023-02-02 00:52:20 +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-02-02 00:52:20 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#specifications-title": {
|
|
|
|
"children": ["rich-text#specifications"]
|
|
|
|
},
|
2023-02-02 00:52:20 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"rich-text#specifications": {
|
|
|
|
"props": {
|
|
|
|
"text": "##### Product Specifications"
|
|
|
|
}
|
|
|
|
},
|
2023-02-02 00:52:20 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#description": {
|
|
|
|
"props": {
|
|
|
|
"marginBottom": 7
|
|
|
|
},
|
|
|
|
"children": ["product-description"]
|
|
|
|
},
|
2023-02-02 00:52:20 +00:00
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
},
|
2023-02-02 00:52:20 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#product-main": {
|
|
|
|
"props": {
|
|
|
|
"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": [
|
2023-01-27 13:46:17 +00:00
|
|
|
"html#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": {
|
|
|
|
"rowGap": 0
|
|
|
|
}
|
|
|
|
},
|
2023-02-02 00:52:20 +00:00
|
|
|
|
2023-01-27 13:46:17 +00:00
|
|
|
"html#product-image": {
|
|
|
|
"props":{
|
|
|
|
"tag": "div",
|
|
|
|
"testId": "product-images",
|
|
|
|
"blockClass": "product-image"
|
|
|
|
},
|
2023-01-12 16:56:35 +00:00
|
|
|
"children": ["product-images"]
|
|
|
|
},
|
2023-02-02 00:52:20 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-images": {
|
|
|
|
"props": {
|
2023-01-27 13:46:17 +00:00
|
|
|
"aspectRatio": "1:1",
|
|
|
|
"displayThumbnailsArrows": false,
|
|
|
|
"thumbnailsOrientation": "horizontal",
|
|
|
|
"showNavigationArrows": false,
|
|
|
|
"showPaginationDots": false,
|
|
|
|
"thumbnailAspectRatio": "1:1"
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
2023-02-02 00:52:20 +00:00
|
|
|
|
|
|
|
"html#product-quantity": {
|
|
|
|
"props": {
|
|
|
|
"tag": "div",
|
|
|
|
"testId": "product-quantity",
|
|
|
|
"blockClass": "product-quantity"
|
|
|
|
},
|
|
|
|
"children": ["product-quantity"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"html#product-quantity-cart-button": {
|
|
|
|
"props": {
|
|
|
|
"tag": "div",
|
|
|
|
"blockClass": "product-quantity-cart-button"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"html#product-quantity",
|
|
|
|
"flex-layout.row#buy-button"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.col#right-col": {
|
|
|
|
"props": {
|
|
|
|
"preventVerticalStretch": true,
|
2023-01-27 13:46:17 +00:00
|
|
|
"rowGap": 0,
|
|
|
|
"blockClass": "right-col"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"flex-layout.row#product-name",
|
2023-01-31 23:20:46 +00:00
|
|
|
"product-identifier.product",
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-rating-summary",
|
|
|
|
"flex-layout.row#selling-price",
|
2023-02-01 01:24:18 +00:00
|
|
|
"product-installments#m3",
|
2023-02-01 17:50:01 +00:00
|
|
|
"html#sku-selector-m3",
|
2023-02-02 00:52:20 +00:00
|
|
|
"html#product-quantity-cart-button",
|
|
|
|
/*"html#product-quantity",*/
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-assembly-options",
|
|
|
|
"product-gifts",
|
2023-02-02 00:52:20 +00:00
|
|
|
/*"flex-layout.row#buy-button",*/
|
2023-01-12 16:56:35 +00:00
|
|
|
"availability-subscriber",
|
|
|
|
"shipping-simulator",
|
|
|
|
"share#default"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2023-02-01 01:24:18 +00:00
|
|
|
"product-installments#m3": {
|
|
|
|
"props": {
|
|
|
|
"markers": ["highlight"],
|
|
|
|
"blockClass": "m3-custom-installments",
|
|
|
|
"message": "<highlight>{installmentsNumber} x</highlight> de <highlight>{installmentValue}</highlight> sem juros",
|
|
|
|
"installmentsCriteria": "max-quantity-without-interest"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#product-name": {
|
|
|
|
"props": {
|
|
|
|
"marginBottom": 3
|
|
|
|
},
|
|
|
|
"children": ["vtex.store-components:product-name"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"sku-selector": {
|
|
|
|
"props": {
|
|
|
|
"variationsSpacing": 3,
|
2023-02-01 17:50:01 +00:00
|
|
|
"showValueNameForImageVariation": true,
|
|
|
|
"imageHeight": 48,
|
|
|
|
"imageWidth": 48
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-02-01 17:50:01 +00:00
|
|
|
"html#sku-selector-m3": {
|
|
|
|
"props":{
|
|
|
|
"tag": "section",
|
|
|
|
"testId": "sku-selector",
|
|
|
|
"blockClass": "sku-selector-m3"
|
|
|
|
},
|
|
|
|
"children": ["sku-selector"]
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#buy-button": {
|
|
|
|
"props": {
|
|
|
|
"marginTop": 4,
|
|
|
|
"marginBottom": 7
|
|
|
|
},
|
2023-02-01 22:57:33 +00:00
|
|
|
"children": ["html#add-to-cart-button"]
|
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"
|
|
|
|
]
|
|
|
|
},
|
2023-02-02 00:52:20 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"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 17:50:01 +00:00
|
|
|
"html#sku-selector-m3",
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#availability"
|
|
|
|
]
|
|
|
|
},
|
2023-02-02 00:52:20 +00:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|