challenge-vtex-io-henrique-.../store/blocks/pdp/product-shelf.jsonc

81 lines
1.7 KiB
Plaintext

{
"html#pdp-slider-shelf-title": {
"children": ["rich-text#pdp-shelf-title"]
},
"html#pdp-slider-shelf": {
"props": {
"testId": "product-summary-list"
},
"children": ["slider-layout#pdp-shelf"]
},
"html#list-context-pdp-shelf": {
"props": {
"testId": "product-summary-list"
},
"children": ["list-context.product-list#pdp-shelf"]
},
"list-context.product-list#pdp-shelf": {
"blocks": ["product-summary.shelf#pdp-shelf"],
"children": ["html#pdp-slider-shelf"]
},
"rich-text#pdp-shelf-title": {
"props": {
"text": "## Você também pode gostar:",
"textPosition": "CENTER",
"textAlignment": "CENTER",
"blockClass": "productShelfTitle"
}
},
"slider-layout#pdp-shelf": {
"props": {
"blockClass": "productShelf",
"itemsPerPage": {
"desktop": 4,
"(min-width:1025px)": 4,
"(min-width:768px)": 3,
"tablet": 2,
"phone": 2
},
"fullWidth": true
}
},
"product-summary.shelf#pdp-shelf": {
"children": [
"product-summary-image#pdp-shelf",
"product-summary-name",
"product-summary-price#pdp-shelf"
]
},
"product-summary-image#pdp-shelf": {
"props": {
"showBadge": false,
"alabelSellingPricespectRatio": "1:1",
"aspectRatio": "1:1",
"width": {
"(min-width: 1921px)": "434.4px",
"desktop": "314.4px",
"(min-width:1025px)": "314.4px",
"(min-width:768px)": "291.2px",
"tablet": "291.2px",
"phone": "124.8px"
}
}
},
"product-summary-price#pdp-shelf": {
"props": {
"showInstallments": false,
"labelListPrice": "de",
"labelSellingPrice": "por"
}
}
}