forked from M3-Academy/challenge-vtex-io
Entrega do Desafio #8
@ -7,8 +7,8 @@
|
||||
"children": [
|
||||
"html#identification-product",
|
||||
// "product-rating-summary",
|
||||
"flex-layout.row#selling-price",
|
||||
"installment-product-component",
|
||||
"html#prices",
|
||||
"html#product-installments",
|
||||
"html#pix-component",
|
||||
// "product-separator",
|
||||
"html#sku-selector",
|
||||
@ -24,8 +24,32 @@
|
||||
]
|
||||
},
|
||||
|
||||
"html#prices": {
|
||||
"props": {
|
||||
"testId": "product-price"
|
||||
},
|
||||
"children": ["flex-layout.row#selling-price"]
|
||||
},
|
||||
|
||||
"html#product-installments": {
|
||||
"props": {
|
||||
"testId": "product-installments"
|
||||
},
|
||||
"children": ["product-installments"]
|
||||
},
|
||||
|
||||
"product-installments": {
|
||||
"props": {
|
||||
"blockClass": "product-installments",
|
||||
"markers": ["discount"],
|
||||
"message": "{installmentsNumber} de {installmentValue} sem juros",
|
||||
"installmentsCriteria": "max-quantity-without-interest"
|
||||
}
|
||||
},
|
||||
|
||||
"html#product-name": {
|
||||
"props": {
|
||||
"testId": "product-name",
|
||||
"marginBottom": 3
|
||||
},
|
||||
"children": ["vtex.store-components:product-name"]
|
||||
@ -35,7 +59,13 @@
|
||||
"props": {
|
||||
"blockClass": "identification-product-content"
|
||||
},
|
||||
"children": ["html#product-name", "product-identifier.product"]
|
||||
"children": ["html#product-name", "html#product-identifier.product"]
|
||||
},
|
||||
"html#product-identifier.product": {
|
||||
"props": {
|
||||
"testId": "product-code"
|
||||
},
|
||||
"children": ["product-identifier.product"]
|
||||
},
|
||||
|
||||
"html#pix-component": {
|
||||
@ -88,8 +118,8 @@
|
||||
"children": ["add-to-cart-button"]
|
||||
},
|
||||
|
||||
"html#shipping-simulator":{
|
||||
"props":{
|
||||
"html#shipping-simulator": {
|
||||
"props": {
|
||||
"testId": "shipping-simulator"
|
||||
},
|
||||
"children": ["shipping-simulator"]
|
||||
|
Loading…
Reference in New Issue
Block a user