${function() {
const variantData = data.variant || {"id":"970a6861-3489-4ab4-9f6e-8bef84fb69c2","product_id":"f4aea655-249d-4743-aa15-5e54b9ff4679","title":"Black-M","weight_unit":"g","inventory_quantity":0,"sku":"Lin4301588227693-Black-M","barcode":"","position":8,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/341526c445dfa7f236df71fd45ca53c5.jpeg","path":"341526c445dfa7f236df71fd45ca53c5.jpeg","width":1200,"height":1600,"alt":"Summer Daily Half Sleeve Slit Women Dress","aspect_ratio":0.75},"wholesale_price":[{"price":32.9,"min_quantity":1}],"weight":"200","compare_at_price":"59.69","price":"32.9","retail_price":"59.69","available":true,"url":"\/products\/summer-daily-half-sleeve-slit-women-dress?variant=970a6861-3489-4ab4-9f6e-8bef84fb69c2","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":45,"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.