${function() {
const variantData = data.variant || {"id":"a224beda-57e3-41b6-9760-ed6d04ee4718","product_id":"8e154b94-0d1d-4d4f-89a5-b083d191d365","title":"Black-S","weight_unit":"g","inventory_quantity":670,"sku":"101840890001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfe8c7a065427ceca0affaf5232b9f01.jpeg","path":"cfe8c7a065427ceca0affaf5232b9f01.jpeg","width":2000,"height":2000,"alt":"Take A Breath Skull 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\/take-a-breath-skull-printed-mens-t-shirt?variant=a224beda-57e3-41b6-9760-ed6d04ee4718","available_quantity":670,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1549};
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":"a224beda-57e3-41b6-9760-ed6d04ee4718","product_id":"8e154b94-0d1d-4d4f-89a5-b083d191d365","title":"Black-S","weight_unit":"g","inventory_quantity":670,"sku":"101840890001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfe8c7a065427ceca0affaf5232b9f01.jpeg","path":"cfe8c7a065427ceca0affaf5232b9f01.jpeg","width":2000,"height":2000,"alt":"Take A Breath Skull 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\/take-a-breath-skull-printed-mens-t-shirt?variant=a224beda-57e3-41b6-9760-ed6d04ee4718","available_quantity":670,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1549};
return `
`
}()}