${function() {
const variantData = data.variant || {"id":"0ad9a600-ea02-41d4-be7e-a166ac2de963","product_id":"c6ccfd13-ed10-401a-80e2-52129612cc7a","title":"Black-5XL","weight_unit":"g","inventory_quantity":811,"sku":"100735420016","barcode":"","position":16,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ad18197123a42dcb30f9b67261b2898e.jpeg","path":"ad18197123a42dcb30f9b67261b2898e.jpeg","width":800,"height":800,"alt":"Life's Too Short Skull Printed Classic T-Shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"237","compare_at_price":"31.99","price":"14.98","retail_price":"31.99","available":true,"url":"\/products\/cloeinc-lifes-too-short-printed-classic-t-shirt?variant=0ad9a600-ea02-41d4-be7e-a166ac2de963","available_quantity":811,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":53,"flashsale_info":[],"sales":1944};
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":"0ad9a600-ea02-41d4-be7e-a166ac2de963","product_id":"c6ccfd13-ed10-401a-80e2-52129612cc7a","title":"Black-5XL","weight_unit":"g","inventory_quantity":811,"sku":"100735420016","barcode":"","position":16,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ad18197123a42dcb30f9b67261b2898e.jpeg","path":"ad18197123a42dcb30f9b67261b2898e.jpeg","width":800,"height":800,"alt":"Life's Too Short Skull Printed Classic T-Shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"237","compare_at_price":"31.99","price":"14.98","retail_price":"31.99","available":true,"url":"\/products\/cloeinc-lifes-too-short-printed-classic-t-shirt?variant=0ad9a600-ea02-41d4-be7e-a166ac2de963","available_quantity":811,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":53,"flashsale_info":[],"sales":1944};
return `
`
}()}