${function() {
const variantData = data.variant || {"id":"1f53275b-d8ee-42ee-b982-3cd2a72d6280","product_id":"1b77436e-5223-4c26-81e5-3bc2ac6a05a8","title":"Black-5XL","weight_unit":"g","inventory_quantity":972,"sku":"101889990001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ced2ee69c3f4a04034accace75313a19.jpeg","path":"ced2ee69c3f4a04034accace75313a19.jpeg","width":2000,"height":2000,"alt":"Mom Pleaser Print Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/mom-pleaser-print-mens-t-shirt?variant=1f53275b-d8ee-42ee-b982-3cd2a72d6280","available_quantity":972,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":30,"flashsale_info":[],"sales":59};
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":"1f53275b-d8ee-42ee-b982-3cd2a72d6280","product_id":"1b77436e-5223-4c26-81e5-3bc2ac6a05a8","title":"Black-5XL","weight_unit":"g","inventory_quantity":972,"sku":"101889990001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ced2ee69c3f4a04034accace75313a19.jpeg","path":"ced2ee69c3f4a04034accace75313a19.jpeg","width":2000,"height":2000,"alt":"Mom Pleaser Print Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"22.98","price":"15.98","retail_price":"22.98","available":true,"url":"\/products\/mom-pleaser-print-mens-t-shirt?variant=1f53275b-d8ee-42ee-b982-3cd2a72d6280","available_quantity":972,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":30,"flashsale_info":[],"sales":59};
return `
`
}()}