2023-01-12 16:56:35 +00:00
|
|
|
{
|
|
|
|
"modal-trigger#quickview": {
|
2023-01-25 15:00:41 +00:00
|
|
|
"children": ["icon-expand", "modal-layout#quickview"],
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
|
|
|
"blockClass": "quickview"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"modal-layout#quickview": {
|
|
|
|
"children": [
|
|
|
|
"modal-header#quickview",
|
|
|
|
"flex-layout.row#quickview-main-row"
|
|
|
|
],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "quickview"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"modal-header#quickview": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "quickview"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"modal-content#quickview": {
|
|
|
|
"children": [
|
|
|
|
"vtex.store-components:product-name",
|
|
|
|
"flex-layout.col#quickviewPrice",
|
|
|
|
"product-summary-sku-selector#quickview"
|
|
|
|
],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "quickviewContent"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#quickviewPrice": {
|
2023-02-05 15:57:44 +00:00
|
|
|
"children": ["flex-layout.row#selling-price", "product-installments"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"modal-actions#quickview": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "quickview"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"flex-layout.row#quickview-actions-1",
|
|
|
|
"flex-layout.row#quickview-actions-2"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"flex-layout.row#quickview-actions-1": {
|
|
|
|
"children": [
|
|
|
|
"flex-layout.col#quickview-product-quantity",
|
|
|
|
"flex-layout.col#quickview-add-to-card-button"
|
|
|
|
],
|
|
|
|
"props": {
|
|
|
|
"colSizing": "auto",
|
|
|
|
"colGap": 6,
|
|
|
|
"blockClass": "addToCartRow"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"flex-layout.col#quickview-product-quantity": {
|
2023-01-25 15:00:41 +00:00
|
|
|
"children": ["product-summary-quantity#quickview"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"product-summary-quantity#quickview": {
|
|
|
|
"props": {
|
|
|
|
"showLabel": false,
|
|
|
|
"size": "regular"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#quickview-add-to-card-button": {
|
2023-01-25 15:00:41 +00:00
|
|
|
"children": ["add-to-cart-button"],
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
|
|
|
"width": "grow"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"flex-layout.row#quickview-actions-2": {
|
2023-01-25 15:00:41 +00:00
|
|
|
"children": ["link.product#button-pdp"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"link.product#button-pdp": {
|
|
|
|
"props": {
|
|
|
|
"buttonProps": {
|
|
|
|
"variant": "secondary"
|
|
|
|
},
|
|
|
|
"displayMode": "button",
|
|
|
|
"label": "View details",
|
|
|
|
"href": "/{slug}/p"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.row#quickview-main-row": {
|
|
|
|
"children": [
|
|
|
|
"flex-layout.col#quickview-images",
|
|
|
|
"flex-layout.col#quickview-product-details"
|
|
|
|
],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "quickviewMainRow"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#quickview-images": {
|
2023-01-25 15:00:41 +00:00
|
|
|
"children": ["product-images#quickview"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"flex-layout.col#quickview-product-details": {
|
2023-01-25 15:00:41 +00:00
|
|
|
"children": ["modal-content#quickview", "modal-actions#quickview"],
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
|
|
|
"preventVerticalStretch": true,
|
|
|
|
"blockClass": "quickviewDetails"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"product-summary-sku-selector#quickview": {
|
|
|
|
"props": {
|
|
|
|
"thumbnailImage": "skuvariation",
|
|
|
|
"imageHeight": 28,
|
|
|
|
"blockClass": "quickview",
|
|
|
|
"visibility": "more-than-one"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"vtex.store-components:product-name": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "quickview"
|
|
|
|
}
|
|
|
|
},
|
2023-01-25 15:00:41 +00:00
|
|
|
"product-images#quickview": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
|
|
|
"blockClass": "quickview",
|
|
|
|
"showNavigationArrows": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|