${function() {
const variantData = data.variant || {"id":"f407f9a8-0cd9-46c3-a2a5-b0191bce9db9","product_id":"5724b098-9bc8-4f0c-bf5d-ce1881189c7a","title":"black-S","weight_unit":"kg","inventory_quantity":0,"sku":"662211171819-black-S","barcode":"","position":9,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/603b0adb615dd2866b34e99b6ac60df5.jpeg","path":"603b0adb615dd2866b34e99b6ac60df5.jpeg","width":800,"height":764,"alt":"New Lace-Up Loose Mid-Length Double-faced Wool Cape Coat","aspect_ratio":1.0471204188481675},"wholesale_price":[{"price":62.79,"min_quantity":1}],"weight":"0.8","compare_at_price":"104.65","price":"62.79","retail_price":"104.65","available":true,"url":"\/products\/new-lace-up-loose-mid-length-double-faced-wool-cape-coat?variant=f407f9a8-0cd9-46c3-a2a5-b0191bce9db9","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"S"}],"off_ratio":40,"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 + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.