${function() {
const variantData = data.variant || {"id":"d20005da-f6c1-4156-a385-92898f68c9c1","product_id":"9019bd38-d59a-4a93-a996-bb1b5069bfc8","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2306263492-Black-S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd0f617bb6497b8d89a005cc466d3146.jpeg","path":"cd0f617bb6497b8d89a005cc466d3146.jpeg","width":640,"height":795,"alt":"Delicate Crotchet Neck Design Mini Dress","aspect_ratio":0.8050314465408805},"wholesale_price":[{"price":35.55,"min_quantity":1}],"weight":"0","compare_at_price":"49","price":"35.55","retail_price":"49","available":true,"url":"\/products\/delicate-crotchet-neck-design-mini-dress?variant=d20005da-f6c1-4156-a385-92898f68c9c1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":27,"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.