${function() {
const variantData = data.variant || {"id":"528d2884-45cf-4e01-97da-a88bba0fc713","product_id":"c2ef52ad-a381-4e96-bc2a-3e990e1ca948","title":"black-S","weight_unit":"kg","inventory_quantity":0,"sku":"662302154335-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e0fd724a081cbe4460e26db1049c8e06.jpeg","path":"e0fd724a081cbe4460e26db1049c8e06.jpeg","width":800,"height":1000,"alt":"Casual Linen Two Piece Set","aspect_ratio":0.8},"wholesale_price":[{"price":44.69,"min_quantity":1}],"weight":"0.4","compare_at_price":"58","price":"44.69","retail_price":"58","available":true,"url":"\/products\/casual-linen-two-piece-set?variant=528d2884-45cf-4e01-97da-a88bba0fc713","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"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.