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",
|
2023-02-10 15:35:03 +00:00
|
|
|
// "flex-layout.row#specifications-title",
|
|
|
|
// "product-specification-group#table",
|
2023-01-12 16:56:35 +00:00
|
|
|
"shelf.relatedProducts",
|
|
|
|
"product-questions-and-answers"
|
|
|
|
]
|
|
|
|
},
|
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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.row#description": {
|
|
|
|
"props": {
|
|
|
|
"marginBottom": 7
|
|
|
|
},
|
|
|
|
"children": ["product-description"]
|
|
|
|
},
|
|
|
|
"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,
|
|
|
|
"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": {
|
|
|
|
"width": "60%",
|
|
|
|
"rowGap": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.row#product-image": {
|
|
|
|
"children": ["product-images"]
|
|
|
|
},
|
|
|
|
"product-images": {
|
|
|
|
"props": {
|
|
|
|
"aspectRatio": {
|
|
|
|
"desktop": "auto",
|
|
|
|
"phone": "16:9"
|
|
|
|
},
|
2023-02-02 22:28:48 +00:00
|
|
|
"thumbnailsOrientation": "horizontal",
|
|
|
|
"thumbnailMaxHeight": 90,
|
|
|
|
"maxHeight": 664,
|
|
|
|
"showPaginationDots": false,
|
|
|
|
"showNavigationArrows": false,
|
|
|
|
"displayThumbnailsArrows": false
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#right-col": {
|
|
|
|
"props": {
|
|
|
|
"preventVerticalStretch": true,
|
|
|
|
"rowGap": 0
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"flex-layout.row#product-name",
|
2023-02-10 15:35:03 +00:00
|
|
|
"product-identifier.product",
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-rating-summary",
|
2023-02-02 22:28:48 +00:00
|
|
|
// "flex-layout.row#list-price-savings",
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#selling-price",
|
|
|
|
"product-installments",
|
2023-02-10 15:35:03 +00:00
|
|
|
"pix-components",
|
|
|
|
// "product-separator",
|
2023-01-12 16:56:35 +00:00
|
|
|
"sku-selector",
|
2023-02-10 15:35:03 +00:00
|
|
|
"flex-layout.row#quantity-and-add-button",
|
|
|
|
// "product-quantity",
|
|
|
|
// "product-assembly-options",
|
|
|
|
// "product-gifts",
|
|
|
|
// "flex-layout.row#buy-button",
|
2023-01-12 16:56:35 +00:00
|
|
|
"availability-subscriber",
|
2023-02-02 22:28:48 +00:00
|
|
|
"shipping-simulator"
|
|
|
|
// "share#default"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2023-02-10 15:35:03 +00:00
|
|
|
"flex-layout.row#quantity-and-add-button": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "quantity-and-add-button",
|
|
|
|
"preventHorizontalStretch": true,
|
|
|
|
"fullWidth": true,
|
|
|
|
"colGap": 0
|
|
|
|
},
|
|
|
|
"children": ["product-quantity", "flex-layout.row#buy-button"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"product-identifier.product": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "product-identifier.productReference"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"product-installments": {
|
|
|
|
"props": {
|
|
|
|
"message": "{installmentsNumber} {hasInterest, select, true {x} false {}} de {installmentValue} sem juros",
|
|
|
|
"blockClass": "installmentsPrice"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
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,
|
|
|
|
"showValueNameForImageVariation": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-02-10 15:35:03 +00:00
|
|
|
"add-to-cart-button": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "add-to-cart-button"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#buy-button": {
|
|
|
|
"props": {
|
|
|
|
"marginTop": 4,
|
2023-02-02 22:28:48 +00:00
|
|
|
"marginBottom": 7,
|
|
|
|
"blockClass": "add-to-cart-button-background"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": ["add-to-cart-button"]
|
|
|
|
},
|
|
|
|
|
2023-02-02 22:28:48 +00:00
|
|
|
"add-to-cart-button": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "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"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|