${function() {
const variantData = data.variant || {"id":"4c59bd28-6f25-4d42-a914-608d10902e53","product_id":"1f1b3b10-29a9-4a81-a8e2-4771e63c5112","title":"apricot-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210908912-apricot-L","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cefc8c7449d486a82bdf948c7746a1e7.jpeg","path":"cefc8c7449d486a82bdf948c7746a1e7.jpeg","width":860,"height":860,"alt":"Contrast Stitching Single-Breasted Cardigan Jacket","aspect_ratio":1},"wholesale_price":[{"price":36.46,"min_quantity":1}],"weight":"0","compare_at_price":"43.28","price":"36.46","retail_price":"43.28","available":true,"url":"\/products\/contrast-stitching-single-breasted-cardigan-jacket?variant=4c59bd28-6f25-4d42-a914-608d10902e53","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"L"}],"off_ratio":16,"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.