${function() {
const variantData = data.variant || {"id":"b9f99f82-9e09-4752-9fb1-9b9bd345b137","product_id":"8e04d102-7351-483e-909a-71153a8ffcd6","title":"Black-S","weight_unit":"g","inventory_quantity":611,"sku":"101809830001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d36a7f005b15169f2979bf46f72d8ac4.jpeg","path":"d36a7f005b15169f2979bf46f72d8ac4.jpeg","width":800,"height":800,"alt":"Unholy Nun Print Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":13.98,"min_quantity":1}],"weight":"200","compare_at_price":"22.98","price":"13.98","retail_price":"22.98","available":true,"url":"\/products\/unholy-nun-print-mens-t-shirt-5ech?variant=b9f99f82-9e09-4752-9fb1-9b9bd345b137","available_quantity":611,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":1511};
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":"b9f99f82-9e09-4752-9fb1-9b9bd345b137","product_id":"8e04d102-7351-483e-909a-71153a8ffcd6","title":"Black-S","weight_unit":"g","inventory_quantity":611,"sku":"101809830001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d36a7f005b15169f2979bf46f72d8ac4.jpeg","path":"d36a7f005b15169f2979bf46f72d8ac4.jpeg","width":800,"height":800,"alt":"Unholy Nun Print Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":13.98,"min_quantity":1}],"weight":"200","compare_at_price":"22.98","price":"13.98","retail_price":"22.98","available":true,"url":"\/products\/unholy-nun-print-mens-t-shirt-5ech?variant=b9f99f82-9e09-4752-9fb1-9b9bd345b137","available_quantity":611,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":39,"flashsale_info":[],"sales":1511};
return `
`
}()}