102 lines
2.2 KiB
Plaintext
102 lines
2.2 KiB
Plaintext
{
|
|
"product-summary.shelf": {
|
|
"children": [
|
|
"stack-layout#prodsum",
|
|
"product-summary-name",
|
|
"flex-layout.col#productRating",
|
|
"product-summary-space",
|
|
"product-list-price#summary",
|
|
"flex-layout.row#selling-price-savings"
|
|
]
|
|
},
|
|
"flex-layout.col#productRating": {
|
|
"props": {
|
|
"blockClass": "productRating"
|
|
},
|
|
"children": ["product-rating-inline"]
|
|
},
|
|
|
|
"stack-layout#prodsum": {
|
|
"children": [
|
|
"product-summary-image#shelf",
|
|
"vtex.product-highlights@2.x:product-highlights#collection" // Check quickview.jsonc
|
|
]
|
|
},
|
|
|
|
"product-summary-image#shelf": {
|
|
"props": {
|
|
"showBadge": false,
|
|
"aspectRatio": "1:1",
|
|
"maxHeight": 300
|
|
}
|
|
},
|
|
|
|
"vtex.product-highlights@2.x:product-highlights#collection": {
|
|
"props": {
|
|
"type": "collection"
|
|
},
|
|
"children": ["product-highlight-wrapper"]
|
|
},
|
|
"product-highlight-wrapper": {
|
|
"props": {
|
|
"blockClass": "collection"
|
|
},
|
|
"children": ["product-highlight-text"]
|
|
},
|
|
"product-highlight-text": {
|
|
"props": {
|
|
"message": "{highlightName}"
|
|
}
|
|
},
|
|
|
|
"product-list-price#summary": {
|
|
"props": {
|
|
"blockClass": "summary"
|
|
}
|
|
},
|
|
"flex-layout.row#selling-price-savings": {
|
|
"props": {
|
|
"colGap": 2,
|
|
"preserveLayoutOnMobile": true,
|
|
"preventHorizontalStretch": true,
|
|
"marginBottom": 4,
|
|
"blockClass": "container-price-slider"
|
|
},
|
|
"children": [
|
|
"product-selling-price#summary",
|
|
"product-price-savings#summary"
|
|
]
|
|
},
|
|
"product-installments#summary": {
|
|
"props": {
|
|
"blockClass": "summary"
|
|
}
|
|
},
|
|
"product-selling-price#summary": {
|
|
"props": {
|
|
"blockClass": "summary"
|
|
}
|
|
},
|
|
"product-price-savings#summary": {
|
|
"props": {
|
|
"markers": ["discount"],
|
|
"blockClass": "summary"
|
|
}
|
|
},
|
|
|
|
"list-context.product-list#container-products": {
|
|
"blocks": ["product-summary.shelf"],
|
|
"children": ["html#slider-layout#demo-products"]
|
|
},
|
|
|
|
"rich-text#slider-text": {
|
|
"props": {
|
|
"text": "#### Você também pode gostar:",
|
|
"textAlignment": "CENTER",
|
|
"textPosition": "CENTER",
|
|
"textColor": "#575757",
|
|
"blockClass": "slider-text"
|
|
}
|
|
}
|
|
}
|