${function() {
const variantData = data.variant || {"id":"34431ce3-31a7-4f59-94a1-8be92f455b02","product_id":"5dfe515e-d5d0-466c-9dff-88dfa7017777","title":"Peru-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308102089-Peru-S","barcode":"","position":7,"option1":"Peru","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8046837770f571f5cd75d37a663b924.jpeg","path":"e8046837770f571f5cd75d37a663b924.jpeg","width":800,"height":800,"alt":"Off To Wreak Havoc Retro Batik Printed Hooded","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"52","price":"39.99","retail_price":"52","available":true,"url":"\/products\/off-to-wreak-havoc-retro-batik-printed-hooded?variant=34431ce3-31a7-4f59-94a1-8be92f455b02","available_quantity":999999999,"options":[{"name":"Color","value":"Peru"},{"name":"Size","value":"S"}],"off_ratio":23,"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.