${function() {
const variantData = data.variant || {"id":"9b20fd88-7792-4b46-a829-4640b486875f","product_id":"9fbcea48-6005-4a0a-9fff-4cd393f9b421","title":"black-L","weight_unit":"kg","inventory_quantity":0,"sku":"662206021322-black-L","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/64101e5909ed61aaa6a164080074f994.jpeg","path":"64101e5909ed61aaa6a164080074f994.jpeg","width":800,"height":1000,"alt":"Minimalist Cotton & Linen Two Piece Set","aspect_ratio":0.8},"wholesale_price":[{"price":38.09,"min_quantity":1}],"weight":"0","compare_at_price":"65.66","price":"38.09","retail_price":"65.66","available":true,"url":"\/products\/minimalist-chic-cotton-linen-two-piece?variant=9b20fd88-7792-4b46-a829-4640b486875f","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"L"}],"off_ratio":42,"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.