challenge-vtex-io-andrea-ma.../store/blocks/product-summary/product-summary.jsonc

71 lines
1.4 KiB
Plaintext
Raw Normal View History

{
"product-summary.shelf": {
"children": [
"product-summary-image#shelf",
"product-summary-name",
// "flex-layout.col#productRating",
// "product-summary-space",
"product-list-price#summary",
"product-selling-price#summary"
// "product-installments#summary",
// "add-to-cart-button"
]
},
"flex-layout.col#productRating": {
"props": {
"blockClass": "productRating"
},
"children": ["product-rating-inline"]
},
"product-summary-image#shelf": {
"props": {
"showBadge": false,
"aspectRatio": "1:1",
"maxHeight": 1000
}
},
"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",
"message": "de {listPriceValue} por"
}
},
"product-installments#summary": {
"props": {
"blockClass": "summary"
}
},
"product-selling-price#summary": {
"props": {
"blockClass": "summary"
}
},
"product-price-savings#summary": {
"props": {
"markers": ["discount"],
"blockClass": "summary"
}
}
}