vtex-cms-home-page-Patrick-.../dev/controles-vtex/skuJson.html
2022-12-05 09:22:58 -04:00

80 lines
2.0 KiB
HTML

<script>
var skuJson_0 = {
"productId": 1,
"name": "Produto 01",
"salesChannel": "2",
"available": true,
"displayMode": "especificacao",
"dimensions": ["voltagem"],
"dimensionsInputType": {
"voltagem": "Combo"
},
"dimensionsMap": {
"voltagem": ["110V", "220v"]
},
"skus": [{
"sku": 1,
"skuname": "Produto 01 - 110v",
"dimensions": {
"voltagem": "110V"
},
"available": true,
"availablequantity": 99999,
"cacheVersionUsedToCallCheckout": "36c1f3ec0175f2e8b7c393358f591e6f_",
"listPriceFormated": "R$ 1.500,00",
"listPrice": 150000,
"taxFormated": "R$ 0,00",
"taxAsInt": 0,
"bestPriceFormated": "R$ 1.250,00",
"bestPrice": 125000,
"installments": 1,
"installmentsValue": 125000,
"installmentsInsterestRate": 0,
"image": "https://agenciamagma.vteximg.com.br/arquivos/ids/155571-292-292/109B50_75-IMS-pt_BR.jpg?v=636863519724400000",
"sellerId": "1",
"seller": "Agência Magma",
"measures": {
"cubicweight": 1.0000,
"height": 50.0000,
"length": 50.0000,
"weight": 50.0000,
"width": 50.0000
},
"unitMultiplier": 1.0000,
"rewardValue": 0
}, {
"sku": 2,
"skuname": "Produto 01 - 220v",
"dimensions": {
"voltagem": "220v"
},
"available": true,
"availablequantity": 99999,
"cacheVersionUsedToCallCheckout": "36c1f3ec0175f2e8b7c393358f591e6f_",
"listPriceFormated": "R$ 1.500,00",
"listPrice": 150000,
"taxFormated": "R$ 0,00",
"taxAsInt": 0,
"bestPriceFormated": "R$ 1.250,00",
"bestPrice": 125000,
"installments": 1,
"installmentsValue": 125000,
"installmentsInsterestRate": 0,
"image": "https://agenciamagma.vteximg.com.br/arquivos/ids/155571-292-292/109B50_75-IMS-pt_BR.jpg?v=636863519724400000",
"sellerId": "1",
"seller": "Agência Magma",
"measures": {
"cubicweight": 1.0000,
"height": 50.0000,
"length": 50.0000,
"weight": 50.0000,
"width": 50.0000
},
"unitMultiplier": 1.0000,
"rewardValue": 0
}]
};
var skuJson = skuJson_0;
</script>