${function() {
const variantData = data.variant || {"id":"11cb0f0b-bfe7-4764-a6d0-a3bbecb5dc03","product_id":"8f5ea3fd-6107-4e60-9412-56165080a467","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"2210103153-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1bbbc97d2bc2de9a0132994b13884fb5.jpeg","path":"1bbbc97d2bc2de9a0132994b13884fb5.jpeg","width":1000,"height":1000,"alt":"Casual Collared Patchwork Sweater Dress","aspect_ratio":1},"wholesale_price":[{"price":46.32,"min_quantity":1}],"weight":"0.45","compare_at_price":"79.86","price":"46.32","retail_price":"79.86","available":true,"url":"\/products\/casual-collared-patchwork-sweater-dress?variant=11cb0f0b-bfe7-4764-a6d0-a3bbecb5dc03","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"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.