${function() {
const variantData = data.variant || {"id":"db1f3605-4e35-4b99-94fb-8cdb83f7ae84","product_id":"ebff146f-e1bd-41e6-8015-8fdd1758eb89","title":"yellow-l","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21052201-yellow-l","barcode":"","position":1,"option1":"yellow","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c0f859b86e35501c1aaf1aa851044c9.jpeg","path":"0c0f859b86e35501c1aaf1aa851044c9.jpeg","width":800,"height":1000,"alt":"Chic Odile Two-pieces Set","aspect_ratio":0.8},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"0","compare_at_price":"64.69","price":"39.89","retail_price":"64.69","available":true,"url":"\/products\/chic-odile-two-pieces-set?variant=db1f3605-4e35-4b99-94fb-8cdb83f7ae84","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"l"}],"off_ratio":38,"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.