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

75 lines
1.4 KiB
Plaintext

{
"product-summary.shelf": {
"children": ["html#shelf"]
},
"html#shelf": {
"props": {
"testId": "vtex-product-summary"
},
"children": [
"product-summary-image#shelf",
"product-summary-name",
"product-list-price#summary",
"product-selling-price#summary"
]
},
"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"
}
}
}