74 lines
1.6 KiB
Plaintext
74 lines
1.6 KiB
Plaintext
{
|
|
|
|
"html#slider-block-container": {
|
|
"children": ["rich-text#slider-block-title", "html#list-context.product-list#slider-block"],
|
|
"props": {
|
|
"blockClass": "slider-container"
|
|
}
|
|
},
|
|
|
|
"rich-text#slider-block-title": {
|
|
"props": {
|
|
"text": "#### Você também pode gostar:",
|
|
"blockClass": "slider-title"
|
|
}
|
|
},
|
|
|
|
"product-summary.shelf#slider-block": {
|
|
"children": ["html#product-summary.shelf#slider-block"]
|
|
},
|
|
|
|
"html#product-summary.shelf#slider-block": {
|
|
"props": {
|
|
"testId": "vtex-product-summary",
|
|
"blockClass": "slider-product"
|
|
},
|
|
"children": [
|
|
"product-summary-image#slider-images",
|
|
"product-summary-name",
|
|
// "product-summary-space",
|
|
"product-list-price",
|
|
"product-selling-price"
|
|
]
|
|
},
|
|
|
|
"product-summary-image#slider-images": {
|
|
"props": {
|
|
"blockClass": "product-summary-image",
|
|
"showBadge": false,
|
|
"aspectRatio": "1:1"
|
|
}
|
|
},
|
|
|
|
"list-context.product-list#slider-block": {
|
|
"blocks": ["product-summary.shelf#slider-block"],
|
|
"children": ["html#slider-layout#products-carousel"]
|
|
},
|
|
|
|
"html#list-context.product-list#slider-block": {
|
|
"props": {
|
|
"testId": "product-summary-list"
|
|
},
|
|
"children": ["list-context.product-list#slider-block"]
|
|
},
|
|
|
|
"html#slider-layout#products-carousel": {
|
|
"props": {
|
|
"testId": "product-summary-list"
|
|
},
|
|
"children": ["slider-layout#products-carousel"]
|
|
},
|
|
|
|
"slider-layout#products-carousel": {
|
|
"props":{
|
|
"itemsPerPage": {
|
|
"desktop": 4,
|
|
"tablet": 3,
|
|
"phone": 2
|
|
},
|
|
"infinite": true,
|
|
"blockClass": "carousel"
|
|
}
|
|
}
|
|
}
|