${function() {
const variantData = data.variant || {"id":"5dd5e24c-9853-433c-bb07-6f9c9672f482","product_id":"ad2937a1-c120-4ae5-bc80-2f4a9532e5ff","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308031286-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a432ea25fd63a72140e1051a294db4d.jpeg","path":"8a432ea25fd63a72140e1051a294db4d.jpeg","width":800,"height":900,"alt":"Linen Ruffled Edge Wrap Dress","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":42.33,"min_quantity":1}],"weight":"0.4","compare_at_price":"55","price":"42.33","retail_price":"55","available":true,"url":"\/products\/linen-ruffled-edge-wrap-dress?variant=5dd5e24c-9853-433c-bb07-6f9c9672f482","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":23,"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.