${function() {
const variantData = data.variant || {"id":"9a319ce3-ab17-4997-9a82-d7969cb0e855","product_id":"ead9415f-c43d-4984-88d2-c99d983e14a3","title":"Black-S","weight_unit":"g","inventory_quantity":510,"sku":"101840860001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8dd0efc72c11b579ce3bd67b818a96dc.jpeg","path":"8dd0efc72c11b579ce3bd67b818a96dc.jpeg","width":1600,"height":1600,"alt":"Eat Your Heart Out 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\/eat-your-heart-out-skull-printed-mens-t-shirt?variant=9a319ce3-ab17-4997-9a82-d7969cb0e855","available_quantity":510,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":251};
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":"9a319ce3-ab17-4997-9a82-d7969cb0e855","product_id":"ead9415f-c43d-4984-88d2-c99d983e14a3","title":"Black-S","weight_unit":"g","inventory_quantity":510,"sku":"101840860001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8dd0efc72c11b579ce3bd67b818a96dc.jpeg","path":"8dd0efc72c11b579ce3bd67b818a96dc.jpeg","width":1600,"height":1600,"alt":"Eat Your Heart Out 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\/eat-your-heart-out-skull-printed-mens-t-shirt?variant=9a319ce3-ab17-4997-9a82-d7969cb0e855","available_quantity":510,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":251};
return `
`
}()}