${function() {
const variantData = data.variant || {"id":"8877f2ae-5b83-49fd-bd12-91bab8b0bf5a","product_id":"4ac32768-b617-4bce-8b21-e6fb7bd129e2","title":"White-S","weight_unit":"g","inventory_quantity":646,"sku":"102032140001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4bc59d540f6cba053e54bdd9e2fd0c8d.jpeg","path":"4bc59d540f6cba053e54bdd9e2fd0c8d.jpeg","width":500,"height":500,"alt":"Grim Reaper Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/grim-reaper-printed-mens-t-shirt?variant=8877f2ae-5b83-49fd-bd12-91bab8b0bf5a","available_quantity":646,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1};
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":"8877f2ae-5b83-49fd-bd12-91bab8b0bf5a","product_id":"4ac32768-b617-4bce-8b21-e6fb7bd129e2","title":"White-S","weight_unit":"g","inventory_quantity":646,"sku":"102032140001","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4bc59d540f6cba053e54bdd9e2fd0c8d.jpeg","path":"4bc59d540f6cba053e54bdd9e2fd0c8d.jpeg","width":500,"height":500,"alt":"Grim Reaper Printed Men's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/grim-reaper-printed-mens-t-shirt?variant=8877f2ae-5b83-49fd-bd12-91bab8b0bf5a","available_quantity":646,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":1};
return `
`
}()}