challenge-vtex-io-andrea-ma.../store/blocks/product-price.jsonc

45 lines
1.0 KiB
Plaintext
Raw Normal View History

{
"flex-layout.row#selling-price": {
"props": {
"preserveLayoutOnMobile": true,
"preventHorizontalStretch": true,
"blockClass": "selling-price"
},
"children": ["product-selling-price"]
},
"html#selling-price": {
"props": {
"testId": "product-price",
"blockClass": "selling-price"
},
"children": ["product-selling-price"]
},
"flex-layout.row#list-price-savings": {
"props": {
"colGap": 2,
"preserveLayoutOnMobile": true,
"preventHorizontalStretch": true,
"marginBottom": 2,
"marginTop": 5
},
"children": ["product-list-price", "product-price-savings"]
},
"product-installments": {
"props": {
"markers": ["myMarker"],
"message": "{installmentsNumber} x de {installmentValue} sem juros",
"installmentsCriteria": "max-quantity-without-interest"
}
2023-02-05 16:42:44 +00:00
},
"product-price-savings": {
"props": {
"mininumPercentage": 10,
"message": "10% de desconto" //{savingsPercentage}
}
}
}