389 lines
8.4 KiB
Plaintext
389 lines
8.4 KiB
Plaintext
{
|
|
"store.product": {
|
|
"children": [
|
|
/*"html#breadcrumb",*/
|
|
"breadcrumb#pdp",
|
|
"condition-layout.product#availability",
|
|
"tab-layout#details",
|
|
/*"html#description",*/
|
|
/*"flex-layout.row#description",*/
|
|
/*"flex-layout.row#specifications-title",*/
|
|
/*"product-specification-group#table",*/
|
|
|
|
"list-context.product-list#prateleira",
|
|
/*"shelf.relatedProducts",*/
|
|
/*"product-questions-and-answers",*/
|
|
"newsletter"
|
|
]
|
|
},
|
|
|
|
"newsletter": {
|
|
"props": {
|
|
"label": "Assine nossa newsletter",
|
|
"placeholder": "Digite seu e-mail",
|
|
"blockClass": "newsletter"
|
|
}
|
|
},
|
|
|
|
"list-context.product-list#prateleira": {
|
|
"blocks": ["product-summary.shelf"],
|
|
"children": ["rich-text#prateleira", "slider-layout#prateleira"]
|
|
},
|
|
"rich-text#prateleira": {
|
|
"props": {
|
|
"textAlignment": "CENTER",
|
|
"textPosition": "CENTER",
|
|
"text": "Você também pode gostar:",
|
|
"blockClass": "title-prateleira"
|
|
}
|
|
},
|
|
"slider-layout#prateleira": {
|
|
"props": {
|
|
"itemsPerPage": {
|
|
"desktop": 4,
|
|
"tablet": 3,
|
|
"phone": 1
|
|
},
|
|
"infinite": true,
|
|
/*"fullWidth": false,*/
|
|
"blockClass": "prateleira"
|
|
}
|
|
},
|
|
|
|
"tab-layout#details": {
|
|
"children": ["tab-list#details", "tab-content#details"],
|
|
"props": {
|
|
"blockClass": "details",
|
|
"defaultActiveTabId": "details1"
|
|
}
|
|
},
|
|
"tab-list#details": {
|
|
"children": [
|
|
"tab-list.item#details1",
|
|
"tab-list.item#details2",
|
|
"tab-list.item#details3",
|
|
"tab-list.item#details4",
|
|
"tab-list.item#details5"
|
|
]
|
|
},
|
|
"tab-list.item#details1": {
|
|
"props": {
|
|
"tabId": "details1",
|
|
"label": "Descrição",
|
|
"blockClass": "descricao",
|
|
"defaultActiveTab": true
|
|
}
|
|
},
|
|
"tab-list.item#details2": {
|
|
"props": {
|
|
"tabId": "details2",
|
|
"label": "Descrição"
|
|
}
|
|
},
|
|
"tab-list.item#details3": {
|
|
"props": {
|
|
"tabId": "details3",
|
|
"label": "Descrição"
|
|
}
|
|
},
|
|
"tab-list.item#details4": {
|
|
"props": {
|
|
"tabId": "details4",
|
|
"label": "Descrição"
|
|
}
|
|
},
|
|
"tab-list.item#details5": {
|
|
"props": {
|
|
"tabId": "details5",
|
|
"label": "Descrição"
|
|
}
|
|
},
|
|
"tab-content#details": {
|
|
"children": [
|
|
"tab-content.item#details1",
|
|
"tab-content.item#details2",
|
|
"tab-content.item#details3",
|
|
"tab-content.item#details4",
|
|
"tab-content.item#details5"
|
|
]
|
|
},
|
|
"tab-content.item#details1": {
|
|
"children": ["html#description"],
|
|
"props": {
|
|
"tabId": "details1"
|
|
}
|
|
},
|
|
"tab-content.item#details2": {
|
|
"children": ["html#description"],
|
|
"props": {
|
|
"tabId": "details2"
|
|
}
|
|
},
|
|
"tab-content.item#details3": {
|
|
"children": ["html#description"],
|
|
"props": {
|
|
"tabId": "details3"
|
|
}
|
|
},
|
|
"tab-content.item#details4": {
|
|
"children": ["html#description"],
|
|
"props": {
|
|
"tabId": "details4"
|
|
}
|
|
},
|
|
"tab-content.item#details5": {
|
|
"children": ["html#description"],
|
|
"props": {
|
|
"tabId": "details5"
|
|
}
|
|
},
|
|
|
|
"html#description": {
|
|
"props": {
|
|
"tag": "section",
|
|
"testId": "description",
|
|
"blockClass": "description-container"
|
|
},
|
|
"children": ["html#description-image", "product-description"]
|
|
},
|
|
"html#description-image": {
|
|
"props": { "blockClass": "image-container" },
|
|
"children": ["product-images#description"]
|
|
},
|
|
"product-images#description": {
|
|
"props": {
|
|
"displayMode": "first-image",
|
|
"zoomMode": "disabled",
|
|
"blockClass": "description-imagem"
|
|
}
|
|
},
|
|
|
|
"breadcrumb#pdp": {
|
|
"props": {
|
|
"blockClass": "testebread",
|
|
"showOnMobile": true
|
|
}
|
|
},
|
|
|
|
/*"html#breadcrumb": {
|
|
"props": {
|
|
"tag": "section",
|
|
"testId": "breadcrumbs",
|
|
"blockClass": "pdp-breadcrumb"
|
|
},
|
|
"children": ["breadcrumb"]
|
|
},*/
|
|
"flex-layout.row#specifications-title": {
|
|
"children": ["rich-text#specifications"]
|
|
},
|
|
"rich-text#specifications": {
|
|
"props": {
|
|
"text": "##### Product Specifications"
|
|
}
|
|
},
|
|
"product-description": {
|
|
"props": {
|
|
"marginBottom": 7,
|
|
"blockClass": "descricao"
|
|
}
|
|
},
|
|
"condition-layout.product#availability": {
|
|
"props": {
|
|
"conditions": [
|
|
{
|
|
"subject": "isProductAvailable"
|
|
}
|
|
],
|
|
"Then": "flex-layout.row#product-main",
|
|
"Else": "flex-layout.row#product-availability"
|
|
}
|
|
},
|
|
"flex-layout.row#product-main": {
|
|
"props": {
|
|
"colGap": 7,
|
|
/*"rowGap": 7,
|
|
"marginTop": 5,
|
|
"marginBottom": 7,
|
|
"paddingBottom": 7*/
|
|
"blockClass": "containerteste"
|
|
},
|
|
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
|
|
},
|
|
|
|
"stack-layout": {
|
|
"props": {
|
|
"blockClass": "product"
|
|
},
|
|
"children": [
|
|
"flex-layout.row#product-image",
|
|
"product-bookmark",
|
|
"product-specification-badges"
|
|
]
|
|
},
|
|
|
|
"product-specification-badges": {
|
|
"props": {
|
|
"specificationGroupName": "Group",
|
|
"specificationName": "On Sale",
|
|
"visibleWhen": "True",
|
|
"displayValue": "SPECIFICATION_NAME"
|
|
}
|
|
},
|
|
|
|
"flex-layout.col#stack": {
|
|
"children": ["stack-layout"],
|
|
"props": {
|
|
"width": "51%",
|
|
"rowGap": 0
|
|
}
|
|
},
|
|
"flex-layout.row#product-image": {
|
|
"children": ["product-images"]
|
|
},
|
|
"product-images": {
|
|
"props": {
|
|
"showNavigationArrows": false,
|
|
"showPaginationDots": false,
|
|
"thumbnailAspectRatio": "1:1",
|
|
"thumbnailMaxHeight": 90,
|
|
"thumbnailsOrientation": "horizontal",
|
|
"aspectRatio": {
|
|
"desktop": "1:1",
|
|
"phone": "16:9"
|
|
},
|
|
"displayThumbnailsArrows": false
|
|
}
|
|
},
|
|
"flex-layout.col#right-col": {
|
|
"props": {
|
|
"preventVerticalStretch": true,
|
|
"rowGap": 0
|
|
},
|
|
"children": [
|
|
"flex-layout.row#product-name",
|
|
"html#codigo",
|
|
"product-rating-summary",
|
|
/*"flex-layout.row#list-price-savings", desconto*/
|
|
"flex-layout.row#selling-price",
|
|
"product-installments",
|
|
"Pix",
|
|
/*"product-separator",*/
|
|
"sku-selector",
|
|
/*"product-quantity",*/
|
|
/*"product-assembly-options",*/
|
|
/*"product-gifts",*/
|
|
/*"flex-layout.row#buy-button",*/
|
|
"html#qtd-btn",
|
|
"availability-subscriber",
|
|
"shipping-simulator"
|
|
/*"share#default"*/
|
|
]
|
|
},
|
|
|
|
"product-installments": {
|
|
"props": {
|
|
"installmentsCriteria": "max-quantity-without-interest",
|
|
"blockClass": "parcelamentos",
|
|
"message": "{installmentsNumber} de {installmentValue} sem juros"
|
|
}
|
|
},
|
|
|
|
"flex-layout.row#product-name": {
|
|
"props": {
|
|
"marginBottom": 3,
|
|
"blockClass": "name"
|
|
},
|
|
"children": ["vtex.store-components:product-name"]
|
|
},
|
|
|
|
"html#codigo": {
|
|
"props": {
|
|
"blockClass": "codigo"
|
|
},
|
|
"children": ["product-identifier.product"]
|
|
},
|
|
|
|
"sku-selector": {
|
|
"props": {
|
|
"variationsSpacing": 3,
|
|
"showValueNameForImageVariation": true,
|
|
"blockClass": "skus"
|
|
}
|
|
},
|
|
|
|
"flex-layout.row#buy-button": {
|
|
"props": {
|
|
"marginTop": 4,
|
|
"marginBottom": 7,
|
|
"blockClass": "container-btn"
|
|
},
|
|
"children": ["add-to-cart-button"]
|
|
},
|
|
|
|
"html#qtd-btn": {
|
|
"props": {
|
|
"tag": "div",
|
|
"testId": "qtd-btn",
|
|
"blockClass": "qtd-btn"
|
|
},
|
|
"children": ["product-quantity", "add-to-cart-button"]
|
|
},
|
|
|
|
"product-quantity": {
|
|
"props": {
|
|
"blockClass": "quantidade"
|
|
}
|
|
},
|
|
|
|
"flex-layout.row#product-availability": {
|
|
"props": {
|
|
"colGap": 7,
|
|
/*"rowGap": 7,
|
|
"marginTop": 5,
|
|
"marginBottom": 7,
|
|
"paddingBottom": 7*/
|
|
"blockClass": "containerteste"
|
|
},
|
|
"children": [
|
|
"flex-layout.col#stack",
|
|
"flex-layout.col#right-col-availability"
|
|
]
|
|
},
|
|
"flex-layout.col#right-col-availability": {
|
|
"props": {
|
|
"preventVerticalStretch": true,
|
|
"rowGap": 0,
|
|
"blockClass": "info-availability"
|
|
},
|
|
"children": [
|
|
"flex-layout.row#product-name",
|
|
"html#codigo",
|
|
"flex-layout.row#availability",
|
|
"sku-selector"
|
|
]
|
|
},
|
|
"flex-layout.row#availability": {
|
|
"props": {
|
|
"blockClass": "message-availability"
|
|
},
|
|
"children": ["availability-subscriber"]
|
|
},
|
|
|
|
"share#default": {
|
|
"props": {
|
|
"social": {
|
|
"Facebook": true,
|
|
"WhatsApp": true,
|
|
"Twitter": false,
|
|
"Pinterest": true
|
|
}
|
|
}
|
|
},
|
|
|
|
"shipping-simulator": {
|
|
"props": {
|
|
"blockClass": "frete"
|
|
}
|
|
}
|
|
}
|