${function() {
const variantData = data.variant || {"id":"90b3f9ff-2f68-4fa1-b5b3-e73d680c8aed","product_id":"78082917-1e91-4060-99d4-970c60c013f4","title":"black-L","weight_unit":"kg","inventory_quantity":0,"sku":"66230428474-black-L","barcode":"","position":1,"option1":"black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4816f23a53cd830040284e2a32e39ed.jpeg","path":"e4816f23a53cd830040284e2a32e39ed.jpeg","width":800,"height":800,"alt":"Cotton and Linen Vintage Plaid Set","aspect_ratio":1},"wholesale_price":[{"price":56.89,"min_quantity":1}],"weight":"0.3","compare_at_price":"65","price":"56.89","retail_price":"65","available":true,"url":"\/products\/cotton-and-linen-vintage-plaid-set?variant=90b3f9ff-2f68-4fa1-b5b3-e73d680c8aed","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"L"}],"off_ratio":12,"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.