${function() {
const variantData = data.variant || {"id":"88c540e2-395a-46be-8d77-5248c1aecf61","product_id":"081eea02-c511-4822-ab3a-cdaf312b8b11","title":"beige-6.5","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"beige","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7db5d3b3532912399c4be2dd3662089e.jpeg","path":"7db5d3b3532912399c4be2dd3662089e.jpeg","width":790,"height":790,"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\/men-autumn-winter-retro-ankle-handmade-chelsea-boots?variant=88c540e2-395a-46be-8d77-5248c1aecf61","available_quantity":999999999,"options":[{"name":"Color","value":"beige"},{"name":"Shoe Size","value":"6.5"}],"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
: beige
${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.5
${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":"88c540e2-395a-46be-8d77-5248c1aecf61","product_id":"081eea02-c511-4822-ab3a-cdaf312b8b11","title":"beige-6.5","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"beige","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7db5d3b3532912399c4be2dd3662089e.jpeg","path":"7db5d3b3532912399c4be2dd3662089e.jpeg","width":790,"height":790,"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\/men-autumn-winter-retro-ankle-handmade-chelsea-boots?variant=88c540e2-395a-46be-8d77-5248c1aecf61","available_quantity":999999999,"options":[{"name":"Color","value":"beige"},{"name":"Shoe Size","value":"6.5"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
`
}()}