${function() {
const variantData = data.variant || {"id":"bae792fc-b418-458e-a5fc-a6dccacc19ef","product_id":"b294a4ae-64dd-47a7-a76e-52bed8a64770","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1638062165197897730","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/61466392e382f1fea97ff97eeb5427e7.jpeg","path":"61466392e382f1fea97ff97eeb5427e7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.69,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.69","retail_price":"0","available":true,"url":"\/products\/mens-material-tight-t-shirt?variant=bae792fc-b418-458e-a5fc-a6dccacc19ef","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"bae792fc-b418-458e-a5fc-a6dccacc19ef","product_id":"b294a4ae-64dd-47a7-a76e-52bed8a64770","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"1638062165197897730","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/61466392e382f1fea97ff97eeb5427e7.jpeg","path":"61466392e382f1fea97ff97eeb5427e7.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.69,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.69","retail_price":"0","available":true,"url":"\/products\/mens-material-tight-t-shirt?variant=bae792fc-b418-458e-a5fc-a6dccacc19ef","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}