feat(product): removendo custom installment e adicionando o da vtex
This commit is contained in:
parent
0da4b1b3ac
commit
057340fc2a
@ -92,7 +92,7 @@
|
||||
// "product-rating-summary", // avaliações
|
||||
// "flex-layout.row#list-price-savings", preço com promoção vindo vtex
|
||||
"flex-layout.row#selling-price",
|
||||
"installment-component",
|
||||
"html#installment-component",
|
||||
"html#pix-component",
|
||||
// "product-separator", //linha que separa preço de skus
|
||||
"html#sku-selector",
|
||||
@ -108,7 +108,8 @@
|
||||
|
||||
"flex-layout.row#product-name": {
|
||||
"props": {
|
||||
"blockClass": "product__name"
|
||||
"blockClass": "product__name",
|
||||
"testId": "product-name"
|
||||
},
|
||||
"children": ["vtex.store-components:product-name"]
|
||||
},
|
||||
@ -128,6 +129,26 @@
|
||||
}
|
||||
},
|
||||
|
||||
"html#installment-component": {
|
||||
"props": {
|
||||
"tag": "span",
|
||||
"testId": "product-installments"
|
||||
},
|
||||
"children": ["product-installments#installment"]
|
||||
},
|
||||
|
||||
"product-installments#installment": {
|
||||
"props": {
|
||||
"markers": ["portion"],
|
||||
"installmentOptionsFilter": {
|
||||
"paymenSystemName": "Mastercard",
|
||||
"installmentsQuantity": 4
|
||||
},
|
||||
"message": "{installmentsNumber}x <portion>de</portion> {installmentValue} <portion>sem juros</portion>",
|
||||
"blockClas": "installment"
|
||||
}
|
||||
},
|
||||
|
||||
"html#pix-component": {
|
||||
"props": {
|
||||
"tag": "section",
|
||||
|
@ -15,3 +15,18 @@
|
||||
line-height: 38px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.installments {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 22px;
|
||||
color: #929292;
|
||||
}
|
||||
.installments .installments-portion {
|
||||
font-weight: 400;
|
||||
}
|
@ -5,3 +5,20 @@
|
||||
line-height: 38px;
|
||||
color: $color-black0;
|
||||
}
|
||||
|
||||
.installments {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 22px;
|
||||
color: #929292;
|
||||
|
||||
.installments-portion {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user