${function() {
const variantData = data.variant || {"id":"46c98ae3-e3b9-4f77-9b34-0d0e6bca1b64","product_id":"20396b4d-7cc3-4ea7-817d-554114522487","title":"blue-L","weight_unit":"kg","inventory_quantity":0,"sku":"662109091034-blue-L","barcode":"","position":1,"option1":"blue","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f1baec144d13ef76707d1879e1e8728a.jpeg","path":"f1baec144d13ef76707d1879e1e8728a.jpeg","width":1200,"height":1200,"alt":"Two-piece fashion sports and leisure sweater","aspect_ratio":1},"wholesale_price":[{"price":29.62,"min_quantity":1}],"weight":"0","compare_at_price":"37.03","price":"29.62","retail_price":"37.03","available":true,"url":"\/products\/two-piece-fashion-sports-and-leisure-sweater?variant=46c98ae3-e3b9-4f77-9b34-0d0e6bca1b64","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"L"}],"off_ratio":20,"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.