${function() {
const variantData = data.variant || {"id":"4b92bd4b-358a-4c02-8694-1701f6152907","product_id":"720cf0e5-efa6-492c-a162-2804fef1c534","title":"Black-S","weight_unit":"g","inventory_quantity":553,"sku":"101980730001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/782343cf753dd175e6215f03e9b79c22.jpeg","path":"782343cf753dd175e6215f03e9b79c22.jpeg","width":2000,"height":2000,"alt":"Two Pump Chump Running Out Way Too Fast Printed 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\/two-pump-chump-running-out-way-too-fast-printed-mens-t-shirt?variant=4b92bd4b-358a-4c02-8694-1701f6152907","available_quantity":553,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1062};
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":"4b92bd4b-358a-4c02-8694-1701f6152907","product_id":"720cf0e5-efa6-492c-a162-2804fef1c534","title":"Black-S","weight_unit":"g","inventory_quantity":553,"sku":"101980730001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/782343cf753dd175e6215f03e9b79c22.jpeg","path":"782343cf753dd175e6215f03e9b79c22.jpeg","width":2000,"height":2000,"alt":"Two Pump Chump Running Out Way Too Fast Printed 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\/two-pump-chump-running-out-way-too-fast-printed-mens-t-shirt?variant=4b92bd4b-358a-4c02-8694-1701f6152907","available_quantity":553,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1062};
return `
`
}()}