challenge-vtex-io-caina/store/blocks/product-summary/product-summary.jsonc

96 lines
2.1 KiB
Plaintext
Raw Normal View History

{
2023-01-31 21:46:06 +00:00
"html#prateleira": {
"props": {
"testId": "vtex-product-summary",
"blockClass": "item-prateleira"
},
"children": [
"stack-layout#prodsum",
"product-summary-name",
"flex-layout.col#productRating",
"product-summary-space",
"product-list-price#summary",
2023-01-26 21:08:57 +00:00
"flex-layout.row#selling-price-savings"
]
},
2023-01-31 21:46:06 +00:00
"product-summary.shelf": {
"children": ["html#prateleira"]
},
"flex-layout.col#productRating": {
"props": {
"blockClass": "productRating"
},
"children": ["product-rating-inline"]
},
"stack-layout#prodsum": {
"children": [
2023-01-26 21:08:57 +00:00
"product-summary-image#shelf"
/*"vtex.product-highlights@2.x:product-highlights#collection",*/
/*"modal-trigger#quickview" // 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": {
2023-01-26 21:08:57 +00:00
"blockClass": "summary",
"labelListPrice": "teste"
}
},
"flex-layout.row#selling-price-savings": {
"props": {
2023-01-26 21:08:57 +00:00
/*"colGap": 2,*/
"preserveLayoutOnMobile": true,
"preventHorizontalStretch": true,
2023-01-26 21:08:57 +00:00
/*"marginBottom": 4,*/
"horizontalAlign": "center"
},
"children": [
2023-01-26 21:08:57 +00:00
"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": {
2023-01-22 23:39:55 +00:00
"markers": ["discount"],
"blockClass": "summary"
}
}
}