forked from M3-Academy/challenge-vtex-io
feat: adicionando product-right-col.jsonc para organizar o product.jsonc
This commit is contained in:
parent
b7924c4c7d
commit
bcd2ba49c4
90
store/blocks/pdp/product-right-col.jsonc
Normal file
90
store/blocks/pdp/product-right-col.jsonc
Normal file
@ -0,0 +1,90 @@
|
||||
{
|
||||
"html#right-col": {
|
||||
"props": {
|
||||
"preventVerticalStretch": true,
|
||||
"rowGap": 0
|
||||
},
|
||||
"children": [
|
||||
"html#identification-product",
|
||||
// "product-rating-summary",
|
||||
"flex-layout.row#selling-price",
|
||||
"installment-product-component",
|
||||
"html#pix-component",
|
||||
// "product-separator",
|
||||
"html#sku-selector",
|
||||
// "product-quantity",
|
||||
"html#cart-content",
|
||||
// "product-assembly-options",
|
||||
"product-gifts",
|
||||
// "flex-layout.row#add-to-cart-button",
|
||||
"availability-subscriber",
|
||||
"shipping-simulator",
|
||||
"placeholder-component"
|
||||
// "share#default"
|
||||
]
|
||||
},
|
||||
|
||||
"html#product-name": {
|
||||
"props": {
|
||||
"marginBottom": 3
|
||||
},
|
||||
"children": ["vtex.store-components:product-name"]
|
||||
},
|
||||
|
||||
"html#identification-product": {
|
||||
"props": {
|
||||
"blockClass": "identification-product-content"
|
||||
},
|
||||
"children": ["html#product-name", "product-identifier.product"]
|
||||
},
|
||||
|
||||
"html#pix-component": {
|
||||
"props": {
|
||||
"testId": "pix-price"
|
||||
},
|
||||
"children": ["pix-component"]
|
||||
},
|
||||
|
||||
"html#sku-selector": {
|
||||
"props": {
|
||||
"testId": "sku-selector"
|
||||
},
|
||||
"children": ["sku-selector"]
|
||||
},
|
||||
|
||||
"sku-selector": {
|
||||
"props": {
|
||||
"variationsSpacing": 3,
|
||||
"showValueNameForImageVariation": true,
|
||||
"blockClass": "sku-selector"
|
||||
}
|
||||
},
|
||||
|
||||
"html#cart-content": {
|
||||
"props": {
|
||||
"blockClass": "cart-content"
|
||||
},
|
||||
"children": ["html#product-quantity", "html#add-to-cart-button"]
|
||||
},
|
||||
|
||||
"html#product-quantity": {
|
||||
"props": {
|
||||
"testId": "product-quantity"
|
||||
},
|
||||
"children": ["product-quantity"]
|
||||
},
|
||||
"html#add-to-cart-button": {
|
||||
"props": {
|
||||
"testId": "add-to-cart-button"
|
||||
},
|
||||
"children": ["flex-layout.row#add-to-cart-button"]
|
||||
},
|
||||
|
||||
"flex-layout.row#add-to-cart-button": {
|
||||
"props": {
|
||||
"marginTop": 4,
|
||||
"marginBottom": 7
|
||||
},
|
||||
"children": ["add-to-cart-button"]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user