${function() {
const variantData = data.variant || {"id":"07f88a41-9cd3-400d-a4cd-16c1c73f6daf","product_id":"a6ad092b-c286-4ea1-be90-020cd457fc32","title":"brown-7","weight_unit":"kg","inventory_quantity":998,"sku":"Oliv-MS-003-brown-7","barcode":"","position":1,"option1":"brown","option2":"7","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba1fc6462c8eea175254e6ddc9a6ede2.jpeg","path":"ba1fc6462c8eea175254e6ddc9a6ede2.jpeg","width":816,"height":816,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"99.99","price":"69.99","retail_price":"99.99","available":true,"url":"\/products\/100-wool-super-keep-warm-fashion-outdoor-ankle-snow-boot?variant=07f88a41-9cd3-400d-a4cd-16c1c73f6daf","available_quantity":999999999,"options":[{"name":"Color","value":"brown"},{"name":"Shoe Size","value":"7"}],"off_ratio":30,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: brown
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Shoe Size
: 7
${function(){
const optName = "Shoe Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"07f88a41-9cd3-400d-a4cd-16c1c73f6daf","product_id":"a6ad092b-c286-4ea1-be90-020cd457fc32","title":"brown-7","weight_unit":"kg","inventory_quantity":998,"sku":"Oliv-MS-003-brown-7","barcode":"","position":1,"option1":"brown","option2":"7","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba1fc6462c8eea175254e6ddc9a6ede2.jpeg","path":"ba1fc6462c8eea175254e6ddc9a6ede2.jpeg","width":816,"height":816,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"99.99","price":"69.99","retail_price":"99.99","available":true,"url":"\/products\/100-wool-super-keep-warm-fashion-outdoor-ankle-snow-boot?variant=07f88a41-9cd3-400d-a4cd-16c1c73f6daf","available_quantity":999999999,"options":[{"name":"Color","value":"brown"},{"name":"Shoe Size","value":"7"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}