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",
|
2023-02-07 16:55:08 +00:00
|
|
|
"tab-layout#description",
|
2023-02-07 17:51:47 +00:00
|
|
|
// "shelf.relatedProducts",
|
|
|
|
"flex-layout.row#shelf",
|
2023-01-12 16:56:35 +00:00
|
|
|
"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-02-07 16:55:08 +00:00
|
|
|
|
|
|
|
"tab-layout#description": {
|
|
|
|
"children": ["tab-list#description", "tab-content#description"],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "description",
|
|
|
|
"defaultActiveTabId": "description1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-list#description": {
|
|
|
|
"children": [
|
|
|
|
"tab-list.item#description1",
|
|
|
|
"tab-list.item#description2",
|
|
|
|
"tab-list.item#description3",
|
|
|
|
"tab-list.item#description4",
|
|
|
|
"tab-list.item#description5"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-list.item#description1": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "description1",
|
|
|
|
"label": "Descrição",
|
|
|
|
"defaultActiveTab": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-list.item#description2": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "description2",
|
|
|
|
"label": "Descrição",
|
|
|
|
"defaultActiveTab": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-list.item#description3": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "description3",
|
|
|
|
"label": "Descrição",
|
|
|
|
"defaultActiveTab": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-list.item#description4": {
|
|
|
|
"props": {
|
|
|
|
"tabId": "description4",
|
|
|
|
"label": "Descrição",
|
|
|
|
"defaultActiveTab": false
|
|
|
|
}
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-02-07 16:55:08 +00:00
|
|
|
|
|
|
|
"tab-list.item#description5": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
2023-02-07 16:55:08 +00:00
|
|
|
"tabId": "description5",
|
|
|
|
"label": "Descrição",
|
|
|
|
"defaultActiveTab": false
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
2023-02-07 16:43:25 +00:00
|
|
|
|
2023-02-07 16:55:08 +00:00
|
|
|
"tab-content#description": {
|
|
|
|
"children": [
|
|
|
|
"tab-content.item#description1",
|
|
|
|
"tab-content.item#description2",
|
|
|
|
"tab-content.item#description3",
|
|
|
|
"tab-content.item#description4",
|
|
|
|
"tab-content.item#description5"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-content.item#description1": {
|
|
|
|
"children": ["product-images", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "description1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-content.item#description2": {
|
|
|
|
"children": ["product-images", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "description2"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-content.item#description3": {
|
|
|
|
"children": ["product-images", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "description3"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-content.item#description4": {
|
|
|
|
"children": ["product-images", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "description4"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tab-content.item#description5": {
|
|
|
|
"children": ["product-images", "product-description"],
|
|
|
|
"props": {
|
|
|
|
"tabId": "description5"
|
|
|
|
}
|
|
|
|
},
|
2023-02-07 16:43:25 +00:00
|
|
|
|
2023-02-07 17:51:47 +00:00
|
|
|
"product-summary.shelf#teste": {
|
|
|
|
"children": [
|
|
|
|
"product-summary-image#shelf",
|
|
|
|
"product-summary-name",
|
|
|
|
"product-list-price#summary",
|
|
|
|
"product-selling-price#summary"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
"list-context.product-list#teste": {
|
|
|
|
"blocks": ["product-summary.shelf#teste"],
|
|
|
|
"children": ["slider-layout#prateleira"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"slider-layout#prateleira": {
|
|
|
|
"props": {
|
|
|
|
"itemsPerPage": {
|
|
|
|
"desktop": 4,
|
|
|
|
"tablet": 1,
|
|
|
|
"phone": 1
|
|
|
|
},
|
|
|
|
"infinite": true,
|
|
|
|
"showNavigationArrows": "desktopOnly",
|
|
|
|
"blockClass": "carousel"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"flex-layout.row#shelf": {
|
|
|
|
"children": ["list-context.product-list#teste"]
|
|
|
|
},
|
|
|
|
|
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,
|
|
|
|
"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-07 16:43:25 +00:00
|
|
|
"width": "51%",
|
2023-01-12 16:56:35 +00:00
|
|
|
"rowGap": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.row#product-image": {
|
|
|
|
"children": ["product-images"]
|
|
|
|
},
|
|
|
|
"product-images": {
|
|
|
|
"props": {
|
|
|
|
"aspectRatio": {
|
|
|
|
"desktop": "auto",
|
|
|
|
"phone": "16:9"
|
|
|
|
},
|
2023-02-07 16:43:25 +00:00
|
|
|
"displayThumbnailsArrows": true,
|
|
|
|
"thumbnailsOrientation": "horizontal"
|
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-07 16:43:25 +00:00
|
|
|
"product-identifier.product",
|
2023-01-12 16:56:35 +00:00
|
|
|
"product-rating-summary",
|
|
|
|
"flex-layout.row#list-price-savings",
|
|
|
|
"flex-layout.row#selling-price",
|
|
|
|
"product-installments",
|
|
|
|
"sku-selector",
|
|
|
|
"product-assembly-options",
|
|
|
|
"product-gifts",
|
2023-02-07 16:43:25 +00:00
|
|
|
"flex-layout.row#buy-box",
|
2023-01-12 16:56:35 +00:00
|
|
|
"availability-subscriber",
|
|
|
|
"shipping-simulator",
|
2023-02-07 16:43:25 +00:00
|
|
|
"share#default",
|
|
|
|
"placeholder"
|
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-07 16:43:25 +00:00
|
|
|
"flex-layout.row#buy-box": {
|
|
|
|
"props": {
|
|
|
|
"colGap": 0,
|
|
|
|
"blockClass": "buy-box",
|
|
|
|
"colSizing": "auto"
|
|
|
|
},
|
|
|
|
|
|
|
|
"children": [
|
|
|
|
"flex-layout.row#product-quantity",
|
|
|
|
"flex-layout.row#buy-button"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
"flex-layout.row#product-quantity": {
|
|
|
|
"props": {
|
|
|
|
"preventHorizontalStretch": true
|
|
|
|
},
|
|
|
|
|
|
|
|
"children": ["product-quantity"]
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#buy-button": {
|
|
|
|
"props": {
|
2023-02-07 16:43:25 +00:00
|
|
|
"blockClass": "buy-button-container",
|
2023-01-12 16:56:35 +00:00
|
|
|
"marginTop": 4,
|
2023-02-07 16:43:25 +00:00
|
|
|
"marginBottom": 7,
|
|
|
|
"preventHorizontalStretch": false,
|
|
|
|
"fullWidth": true
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": ["add-to-cart-button"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|