2023-01-12 16:56:35 +00:00
|
|
|
{
|
|
|
|
"store.product": {
|
|
|
|
"children": [
|
2023-01-20 14:59:33 +00:00
|
|
|
"html#breadcrumb",
|
2023-01-12 16:56:35 +00:00
|
|
|
"condition-layout.product#availability",
|
2023-02-10 22:03:36 +00:00
|
|
|
"html#product-description",
|
2023-02-08 14:15:06 +00:00
|
|
|
"html#shelf-container",
|
2023-02-10 23:56:36 +00:00
|
|
|
"flex-layout.row#newsletter-wrapper"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
2023-02-11 02:43:35 +00:00
|
|
|
|
2023-01-20 16:19:56 +00:00
|
|
|
"html#breadcrumb": {
|
|
|
|
"props": {
|
|
|
|
"tag": "section",
|
2023-01-20 16:35:32 +00:00
|
|
|
"testId": "breadcrumbs",
|
2023-01-20 16:19:56 +00:00
|
|
|
"blockClass": "pdp-breadcrumb"
|
|
|
|
},
|
|
|
|
"children": ["breadcrumb"]
|
|
|
|
},
|
2023-02-04 10:03:01 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"condition-layout.product#availability": {
|
|
|
|
"props": {
|
|
|
|
"conditions": [
|
|
|
|
{
|
|
|
|
"subject": "isProductAvailable"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"Then": "flex-layout.row#product-main",
|
|
|
|
"Else": "flex-layout.row#product-availability"
|
|
|
|
}
|
|
|
|
},
|
2023-02-02 19:31:57 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#product-main": {
|
|
|
|
"props": {
|
2023-02-02 19:31:57 +00:00
|
|
|
"marginBottom": 5,
|
|
|
|
"blockClass": "productMain",
|
|
|
|
"fullWidth": true
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-02-02 19:31:57 +00:00
|
|
|
"children": ["html#product-images", "flex-layout.col#right-col"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-02-02 19:31:57 +00:00
|
|
|
"html#product-images": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
2023-02-02 19:31:57 +00:00
|
|
|
"tag": "section",
|
|
|
|
"testId": "product-images",
|
|
|
|
"blockClass": "product-images"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": ["product-images"]
|
|
|
|
},
|
|
|
|
"product-images": {
|
|
|
|
"props": {
|
|
|
|
"aspectRatio": {
|
|
|
|
"desktop": "auto",
|
|
|
|
"phone": "16:9"
|
|
|
|
},
|
2023-02-02 19:31:57 +00:00
|
|
|
"thumbnailsOrientation": "horizontal",
|
|
|
|
"showNavigationArrows": false,
|
|
|
|
"showPaginationDots": false,
|
|
|
|
"maxHeight": 2560
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#right-col": {
|
|
|
|
"props": {
|
2023-02-02 19:31:57 +00:00
|
|
|
"width": "50%",
|
2023-01-12 16:56:35 +00:00
|
|
|
"preventVerticalStretch": true,
|
2023-02-03 15:26:56 +00:00
|
|
|
"blockClass": "right-col"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"flex-layout.row#product-name",
|
2023-02-10 22:03:36 +00:00
|
|
|
"html#codigo",
|
|
|
|
"html#selling-price",
|
|
|
|
"html#product-installments",
|
2023-02-05 16:42:44 +00:00
|
|
|
"html#pix-price",
|
2023-02-05 22:38:06 +00:00
|
|
|
"html#sku-selector",
|
2023-02-10 03:28:28 +00:00
|
|
|
"flex-layout.row#quantity-buy",
|
2023-02-10 22:03:36 +00:00
|
|
|
"html#shipping-simulator"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2023-02-11 02:43:35 +00:00
|
|
|
"flex-layout.row#product-name": {
|
2023-02-10 22:03:36 +00:00
|
|
|
"props": {
|
2023-02-11 02:43:35 +00:00
|
|
|
"marginBottom": 3,
|
2023-02-10 22:03:36 +00:00
|
|
|
"blockClass": "product-name"
|
|
|
|
},
|
2023-02-11 02:43:35 +00:00
|
|
|
"children": ["html#product-name"]
|
2023-02-10 22:03:36 +00:00
|
|
|
},
|
2023-02-11 02:43:35 +00:00
|
|
|
"html#product-name": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
2023-02-11 02:43:35 +00:00
|
|
|
"testId": "product-name",
|
2023-02-03 15:26:56 +00:00
|
|
|
"blockClass": "product-name"
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
2023-02-11 02:43:35 +00:00
|
|
|
"children": ["vtex.store-components:product-name"]
|
2023-02-10 22:03:36 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"html#codigo": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-code"
|
|
|
|
},
|
|
|
|
"children": ["product-identifier.product"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"html#product-installments": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-installments"
|
|
|
|
},
|
|
|
|
"children": ["product-installments"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
|
2023-02-05 16:42:44 +00:00
|
|
|
"html#pix-price": {
|
|
|
|
"props": {
|
|
|
|
"testId": "pix-price",
|
|
|
|
"blockClass": "pix-price"
|
|
|
|
},
|
|
|
|
"children": ["image#pix-logo", "flex-layout.col#pix-discount"]
|
|
|
|
},
|
|
|
|
"image#pix-logo": {
|
|
|
|
"props": {
|
|
|
|
"src": "https://agenciamagma.vteximg.com.br/arquivos/pix-andreamm.svg",
|
|
|
|
"blockClass": "pix-logo"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#pix-discount": {
|
|
|
|
"children": ["pix-discount", "product-price-savings"],
|
|
|
|
"props": {
|
|
|
|
"blockClass": "pix-discount"
|
|
|
|
}
|
|
|
|
},
|
2023-02-05 22:38:06 +00:00
|
|
|
"html#sku-selector": {
|
2023-01-12 16:56:35 +00:00
|
|
|
"props": {
|
2023-02-05 22:38:06 +00:00
|
|
|
"testId": "sku-selector"
|
|
|
|
},
|
|
|
|
"children": ["sku-selector"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
|
2023-02-10 03:28:28 +00:00
|
|
|
"flex-layout.row#quantity-buy": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "quantity-buy",
|
|
|
|
"preventHorizontalStretch": true,
|
|
|
|
"preventVerticalStretch": true
|
|
|
|
},
|
|
|
|
"children": ["html#product-quantity", "flex-layout.col#buy-button"]
|
|
|
|
},
|
|
|
|
"html#product-quantity": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-quantity"
|
|
|
|
},
|
|
|
|
"children": ["product-quantity#quantity"]
|
|
|
|
},
|
|
|
|
"product-quantity#quantity": {
|
|
|
|
"props": {
|
|
|
|
// "blockClass": "quantity"
|
|
|
|
"showLabel": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"flex-layout.col#buy-button": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "buy-button",
|
|
|
|
"width": "grow"
|
|
|
|
},
|
|
|
|
"children": ["html#add-to-cart-button"]
|
|
|
|
},
|
|
|
|
"html#add-to-cart-button": {
|
|
|
|
"props": {
|
|
|
|
"testId": "add-to-cart-button"
|
|
|
|
},
|
2023-02-10 22:03:36 +00:00
|
|
|
"children": ["add-to-cart-button#product"]
|
2023-02-10 03:28:28 +00:00
|
|
|
},
|
2023-02-11 02:43:35 +00:00
|
|
|
"add-to-cart-button#product": {
|
|
|
|
"props": {
|
|
|
|
"text": "ADICIONAR À SACOLA"
|
|
|
|
}
|
|
|
|
},
|
2023-02-10 03:28:28 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#buy-button": {
|
|
|
|
"props": {
|
|
|
|
"marginTop": 4,
|
|
|
|
"marginBottom": 7
|
|
|
|
},
|
2023-02-10 22:03:36 +00:00
|
|
|
"children": ["add-to-cart-button#product"]
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
|
2023-02-10 22:03:36 +00:00
|
|
|
"html#shipping-simulator": {
|
|
|
|
"props": {
|
|
|
|
"testId": "shipping-simulator",
|
|
|
|
"blockClass": "shipping-simulator"
|
|
|
|
},
|
|
|
|
"children": ["shipping-simulator", "freight"]
|
|
|
|
},
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.row#product-availability": {
|
|
|
|
"props": {
|
2023-02-06 15:34:13 +00:00
|
|
|
"marginBottom": 5,
|
|
|
|
"blockClass": "productMain",
|
|
|
|
"fullWidth": true
|
2023-01-12 16:56:35 +00:00
|
|
|
},
|
|
|
|
"children": [
|
2023-02-02 19:31:57 +00:00
|
|
|
"html#product-images",
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.col#right-col-availability"
|
|
|
|
]
|
|
|
|
},
|
2023-02-08 00:03:24 +00:00
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
"flex-layout.col#right-col-availability": {
|
|
|
|
"props": {
|
2023-02-02 19:31:57 +00:00
|
|
|
"width": "50%",
|
2023-01-12 16:56:35 +00:00
|
|
|
"preventVerticalStretch": true,
|
|
|
|
"blockClass": "info-availability"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"flex-layout.row#product-name",
|
|
|
|
"product-identifier.product",
|
2023-02-06 15:34:13 +00:00
|
|
|
"flex-layout.row#availability",
|
|
|
|
"html#sku-selector"
|
2023-01-12 16:56:35 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"flex-layout.row#availability": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "message-availability"
|
|
|
|
},
|
|
|
|
"children": ["availability-subscriber"]
|
|
|
|
},
|
|
|
|
|
2023-02-08 14:15:06 +00:00
|
|
|
"html#shelf-container": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "shelf-container"
|
|
|
|
},
|
|
|
|
"children": ["rich-text#see-also", "list-context.product-list"]
|
|
|
|
},
|
|
|
|
"rich-text#see-also": {
|
|
|
|
"props": {
|
|
|
|
"text": "#### Você também pode gostar:",
|
|
|
|
"blockClass": "see-also"
|
|
|
|
}
|
|
|
|
},
|
2023-02-08 00:03:24 +00:00
|
|
|
"list-context.product-list": {
|
|
|
|
"blocks": ["product-summary.shelf"],
|
2023-02-08 14:15:06 +00:00
|
|
|
"children": ["html#slider"]
|
|
|
|
},
|
|
|
|
"html#slider": {
|
|
|
|
"props": {
|
|
|
|
"testId": "product-summary-list"
|
|
|
|
},
|
2023-02-08 00:03:24 +00:00
|
|
|
"children": ["slider-layout#related-products"]
|
|
|
|
},
|
|
|
|
"slider-layout#related-products": {
|
|
|
|
"props": {
|
|
|
|
"itemsPerPage": {
|
|
|
|
"desktop": 4,
|
|
|
|
"tablet": 3,
|
|
|
|
"phone": 2
|
|
|
|
},
|
|
|
|
"infinite": true,
|
|
|
|
"showNavigationArrows": "always",
|
|
|
|
"blockClass": "carousel"
|
|
|
|
}
|
2023-02-10 23:56:36 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"flex-layout.row#newsletter-wrapper": {
|
|
|
|
"props": {
|
|
|
|
"blockClass": "newsletter-wrapper"
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
"rich-text#newsletter-title",
|
|
|
|
"rich-text#newsletter-subtitle",
|
|
|
|
"newsletter-form"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"rich-text#newsletter-title": {
|
|
|
|
"props": {
|
|
|
|
"text": "Assine nossa newsletter",
|
|
|
|
"blockClass": "newsletter-title"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rich-text#newsletter-subtitle": {
|
|
|
|
"props": {
|
|
|
|
"text": "Receba ofertas e novidades por e-mail",
|
|
|
|
"blockClass": "newsletter-subtitle"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"newsletter-form": {
|
|
|
|
"children": ["newsletter-input-email", "newsletter-submit"]
|
|
|
|
},
|
|
|
|
"newsletter-input-email": {
|
|
|
|
"props": {
|
|
|
|
"placeholderText": "Digite seu e-mail"
|
|
|
|
}
|
2023-01-12 16:56:35 +00:00
|
|
|
}
|
|
|
|
}
|