${function() {
const variantData = data.variant || {"id":"23425d18-301e-4631-9ca7-4f786ea712a9","product_id":"078b3a43-5012-4eb1-9dc3-a4c37a58469d","title":"Camel-One-size","weight_unit":"kg","inventory_quantity":0,"sku":"20101020-camel-onesize","barcode":"","position":1,"option1":"Camel","option2":"One-size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/25e8c094d9ba5f0365f7bcdcb05bcd9f.jpeg","path":"25e8c094d9ba5f0365f7bcdcb05bcd9f.jpeg","width":1200,"height":1600,"alt":"Retro Tribal Printed Fleece Dual Use Scarf Beanie Hat","aspect_ratio":0.75},"wholesale_price":[{"price":12.84,"min_quantity":1}],"weight":"0.1","compare_at_price":"10.05","price":"12.84","retail_price":"10.05","available":true,"url":"\/products\/retro-tribal-printed-fleece-dual-use-scarf-beanie-hat-4nbz?variant=23425d18-301e-4631-9ca7-4f786ea712a9","available_quantity":999999999,"options":[{"name":"Color","value":"Camel"},{"name":"Size","value":"One-size"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.