${function() {
const variantData = data.variant || {"id":"0b84923e-50cd-452f-a897-26e54c3b838d","product_id":"46d384c8-07cf-4949-a82b-150935014fbb","title":"grey-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21020502-grey-s","barcode":"","position":17,"option1":"grey","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a4732e42c72d5cadf3a1569a2ad57abd.jpeg","path":"a4732e42c72d5cadf3a1569a2ad57abd.jpeg","width":750,"height":800,"alt":"Casual Color Patchwork Tunic","aspect_ratio":0.9375},"wholesale_price":[{"price":25.83,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"25.83","retail_price":"40","available":true,"url":"\/products\/casual-color-patchwork-tunic?variant=0b84923e-50cd-452f-a897-26e54c3b838d","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"s"}],"off_ratio":35,"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.