${function() {
const variantData = data.variant || {"id":"f313a279-cfcd-4ab1-860f-d7107414c5d2","product_id":"13938e06-426c-4ea3-aa07-9524b8a1335f","title":"White-S","weight_unit":"g","inventory_quantity":99999,"sku":"101639800001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6aa78bc992ef455dbe07d741283a73f9.jpeg","path":"6aa78bc992ef455dbe07d741283a73f9.jpeg","width":2000,"height":2000,"alt":"It Is What It Is Letters Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"260","compare_at_price":"32.98","price":"17.98","retail_price":"32.98","available":true,"url":"\/products\/it-is-what-it-is-letters-printed-mens-t-shirt?variant=f313a279-cfcd-4ab1-860f-d7107414c5d2","available_quantity":99999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":6};
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":"f313a279-cfcd-4ab1-860f-d7107414c5d2","product_id":"13938e06-426c-4ea3-aa07-9524b8a1335f","title":"White-S","weight_unit":"g","inventory_quantity":99999,"sku":"101639800001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6aa78bc992ef455dbe07d741283a73f9.jpeg","path":"6aa78bc992ef455dbe07d741283a73f9.jpeg","width":2000,"height":2000,"alt":"It Is What It Is Letters Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":17.98,"min_quantity":1}],"weight":"260","compare_at_price":"32.98","price":"17.98","retail_price":"32.98","available":true,"url":"\/products\/it-is-what-it-is-letters-printed-mens-t-shirt?variant=f313a279-cfcd-4ab1-860f-d7107414c5d2","available_quantity":99999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":45,"flashsale_info":[],"sales":6};
return `
`
}()}