${function() {
const variantData = data.variant || {"id":"a63dbdf4-14c9-47a7-bb45-14b111fde451","product_id":"d1b77204-3e44-4018-9e4a-6d9731524717","title":"apricot-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211262171-apricot-one size","barcode":"","position":1,"option1":"apricot","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cac4e0979e0bb379347c7d9a77f63156.jpeg","path":"cac4e0979e0bb379347c7d9a77f63156.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":77.89,"min_quantity":1}],"weight":"0.71","compare_at_price":"89","price":"77.89","retail_price":"89","available":true,"url":"\/products\/mid-length-knitted-dress-with-half-turtleneck?variant=a63dbdf4-14c9-47a7-bb45-14b111fde451","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"one size"}],"off_ratio":12,"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.