${function() {
const variantData = data.variant || {"id":"3b146892-ecf2-4ede-982c-919ef08a1f79","product_id":"0f5e56b5-c102-41e7-ba83-67678f22d0c7","title":"Brown Plush-6","weight_unit":"","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"Brown Plush","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf5ff5f2997ee5c62822b35f4d64349e.jpeg","path":"bf5ff5f2997ee5c62822b35f4d64349e.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"89.99","price":"69.99","retail_price":"89.99","available":true,"url":"\/products\/mens-comfortable-genuine-leather-waterproof-boots?variant=3b146892-ecf2-4ede-982c-919ef08a1f79","available_quantity":999999999,"options":[{"name":"Color","value":"Brown Plush"},{"name":"Shoe Size","value":"6"}],"off_ratio":22,"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 Plush
${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
: 6
${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":"3b146892-ecf2-4ede-982c-919ef08a1f79","product_id":"0f5e56b5-c102-41e7-ba83-67678f22d0c7","title":"Brown Plush-6","weight_unit":"","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"Brown Plush","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf5ff5f2997ee5c62822b35f4d64349e.jpeg","path":"bf5ff5f2997ee5c62822b35f4d64349e.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.99,"min_quantity":1}],"weight":"0","compare_at_price":"89.99","price":"69.99","retail_price":"89.99","available":true,"url":"\/products\/mens-comfortable-genuine-leather-waterproof-boots?variant=3b146892-ecf2-4ede-982c-919ef08a1f79","available_quantity":999999999,"options":[{"name":"Color","value":"Brown Plush"},{"name":"Shoe Size","value":"6"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
`
}()}