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

69 lines
1.6 KiB
Plaintext
Raw Normal View History

{
"list-context.product-list#m3-shelf-retaletd": {
"props": {
"blockClass": "m3-shelf-retaletd"
},
"blocks": ["product-summary.shelf#m3-shelf-retaletd-content"],
2023-02-09 00:00:51 +00:00
"children": ["rich-text#m3-shelf-related-title", "html#slider-layout"]
},
"product-summary.shelf#m3-shelf-retaletd-content": {
"props": {
"blockClass": "m3-shelf-retaletd-content"
},
"children": ["html#product-summary"]
},
"html#product-summary": {
"props": {
"blockClass": "m3-html-product-sumary",
"testId": "vtex-product-summary"
},
"children": [
"product-summary-image",
"product-summary-name",
"product-list-price",
"product-selling-price"
]
},
"product-list-price": {
"props": {
"blockClass": "m3-product-list-price",
"message": "de {listPriceValue} por"
}
},
2023-02-09 00:00:51 +00:00
"html#slider-layout": {
"props": {
"testId": "product-summary-list"
},
"children": ["slider-layout#m3-carousel-products"]
},
"slider-layout#m3-carousel-products": {
"props": {
"blockClass": "m3-carousel-products",
"itemsPerPage": {
"desktop": 4,
"tablet": 3,
"phone": 2
},
"infinite": true,
"showNavigationArrows": "always"
}
},
"rich-text#m3-shelf-related-title": {
"props": {
"blockClass": "m3-shelf-related-title",
"text": "Você também pode gostar:",
"textAlignment": "CENTER",
"textPosition": "CENTER"
}
},
"product-summary-image": {
"props": {
"showBadge": false,
"aspectRatio": {
"desktop": "1:1",
"mobile": "1:1"
}
}
}
}