${function() {
const variantData = data.variant || {"id":"4e6dc882-a97d-4852-8627-ddf70cfe6066","product_id":"485dd3fd-e258-4f61-9407-cc6f40d7c9d1","title":"6.5-Red","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"6.5","option2":"Red","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/087ee61bd0a520d76079c283ba0c7a6f.jpeg","path":"087ee61bd0a520d76079c283ba0c7a6f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":65.89,"min_quantity":1}],"weight":"0","compare_at_price":"85.89","price":"65.89","retail_price":"85.89","available":true,"url":"\/products\/autunmwinter-male-warm-chelsea-boots?variant=4e6dc882-a97d-4852-8627-ddf70cfe6066","available_quantity":999999999,"options":[{"name":"Size","value":"6.5"},{"name":"Color","value":"Red"}],"off_ratio":23,"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 + '%'
: ` `
)}
`;
}()}
Size
: 6.5
${function(){
const optName = "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}
`
}()}
Color
: Red
${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}
`
}()}
Add to cart
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"4e6dc882-a97d-4852-8627-ddf70cfe6066","product_id":"485dd3fd-e258-4f61-9407-cc6f40d7c9d1","title":"6.5-Red","weight_unit":"","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"6.5","option2":"Red","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/087ee61bd0a520d76079c283ba0c7a6f.jpeg","path":"087ee61bd0a520d76079c283ba0c7a6f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":65.89,"min_quantity":1}],"weight":"0","compare_at_price":"85.89","price":"65.89","retail_price":"85.89","available":true,"url":"\/products\/autunmwinter-male-warm-chelsea-boots?variant=4e6dc882-a97d-4852-8627-ddf70cfe6066","available_quantity":999999999,"options":[{"name":"Size","value":"6.5"},{"name":"Color","value":"Red"}],"off_ratio":23,"flashsale_info":[],"sales":0};
return `
`
}()}