${function() {
const variantData = data.variant || {"id":"6d1b7154-9d29-4c03-b0a8-ecacf2712447","product_id":"e6dc851d-2b8a-47f2-981a-05d96ab990b7","title":"black-XL","weight_unit":"kg","inventory_quantity":0,"sku":"Lin0922105192-black-XL","barcode":"","position":5,"option1":"black","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/32255779b107af62bf3bc88f94d1536a.png","path":"32255779b107af62bf3bc88f94d1536a.png","width":902,"height":1201,"alt":"Cotton linen backless short sleeves dress","aspect_ratio":0.7510407993338885},"wholesale_price":[{"price":29.88,"min_quantity":1}],"weight":"0","compare_at_price":"49","price":"29.88","retail_price":"49","available":true,"url":"\/products\/cotton-linen-backless-short-sleeves-dress?variant=6d1b7154-9d29-4c03-b0a8-ecacf2712447","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"XL"}],"off_ratio":39,"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.