${function() {
const variantData = data.variant || {"id":"73b5c032-82d5-4e8e-a216-190e738d4671","product_id":"c7c9da18-a0c0-4eab-8d82-70bc635410fd","title":"Black-S","weight_unit":"g","inventory_quantity":590,"sku":"102328160008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b5ef68f7499bdbe95b8337ce97923a7.jpeg","path":"5b5ef68f7499bdbe95b8337ce97923a7.jpeg","width":2000,"height":2000,"alt":"Another Day Locked Inside My Head Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"160","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/another-day-locked-inside-my-head-printed-mens-t-shirt?variant=73b5c032-82d5-4e8e-a216-190e738d4671","available_quantity":590,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"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.
${function(){
const variantData = data.variant || {"id":"73b5c032-82d5-4e8e-a216-190e738d4671","product_id":"c7c9da18-a0c0-4eab-8d82-70bc635410fd","title":"Black-S","weight_unit":"g","inventory_quantity":590,"sku":"102328160008","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b5ef68f7499bdbe95b8337ce97923a7.jpeg","path":"5b5ef68f7499bdbe95b8337ce97923a7.jpeg","width":2000,"height":2000,"alt":"Another Day Locked Inside My Head Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"160","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/another-day-locked-inside-my-head-printed-mens-t-shirt?variant=73b5c032-82d5-4e8e-a216-190e738d4671","available_quantity":590,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}