${function() {
const variantData = data.variant || {"id":"a0ea4dd1-db02-48f2-baa2-0ed67ca33260","product_id":"b2df8a09-5a25-403e-925c-2849938fddaa","title":"white-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662305111147-white-one size","barcode":"","position":1,"option1":"white","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95f0e365a844c9ff58a8920cd8d338c8.jpeg","path":"95f0e365a844c9ff58a8920cd8d338c8.jpeg","width":800,"height":1000,"alt":"Simple Lightweight Cool Cotton Linen Cardigan","aspect_ratio":0.8},"wholesale_price":[{"price":48.75,"min_quantity":1}],"weight":"0.2","compare_at_price":"57","price":"48.75","retail_price":"57","available":true,"url":"\/products\/simple-lightweight-cool-cotton-linen-cardigan?variant=a0ea4dd1-db02-48f2-baa2-0ed67ca33260","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"one size"}],"off_ratio":14,"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.