${function() {
const variantData = data.variant || {"id":"cac59a07-4f46-484e-be23-b66a84bca1e9","product_id":"320ba659-b81b-4e30-9203-25baea947d20","title":"Black-S","weight_unit":"g","inventory_quantity":99999,"sku":"101705070001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a58cd24402bd0188f85a45c782e45ef.jpeg","path":"9a58cd24402bd0188f85a45c782e45ef.jpeg","width":800,"height":800,"alt":"Mac Miller Skeleton Printed Men's T-shirt - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"229.5","compare_at_price":"24.48","price":"16.98","retail_price":"24.48","available":true,"url":"\/products\/mac-miller-skeleton-printed-mens-t-shirt?variant=cac59a07-4f46-484e-be23-b66a84bca1e9","available_quantity":99999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":7};
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":"cac59a07-4f46-484e-be23-b66a84bca1e9","product_id":"320ba659-b81b-4e30-9203-25baea947d20","title":"Black-S","weight_unit":"g","inventory_quantity":99999,"sku":"101705070001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a58cd24402bd0188f85a45c782e45ef.jpeg","path":"9a58cd24402bd0188f85a45c782e45ef.jpeg","width":800,"height":800,"alt":"Mac Miller Skeleton Printed Men's T-shirt - cioyinc","aspect_ratio":1},"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"229.5","compare_at_price":"24.48","price":"16.98","retail_price":"24.48","available":true,"url":"\/products\/mac-miller-skeleton-printed-mens-t-shirt?variant=cac59a07-4f46-484e-be23-b66a84bca1e9","available_quantity":99999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":7};
return `
`
}()}