${function() {
const variantData = data.variant || {"id":"ef9a78fb-111f-43d1-a5fa-481e3e691d0b","product_id":"ead9415f-c43d-4984-88d2-c99d983e14a3","title":"White-S","weight_unit":"g","inventory_quantity":894,"sku":"101840860025","barcode":"","position":25,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1a1bbf03941f672c99b0d386cf7963bf.jpeg","path":"1a1bbf03941f672c99b0d386cf7963bf.jpeg","width":1080,"height":1080,"alt":"Eat Your Heart Out Skull 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\/eat-your-heart-out-skull-printed-mens-t-shirt?variant=ef9a78fb-111f-43d1-a5fa-481e3e691d0b","available_quantity":894,"options":[{"name":"Color","value":"White"},{"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":"ef9a78fb-111f-43d1-a5fa-481e3e691d0b","product_id":"ead9415f-c43d-4984-88d2-c99d983e14a3","title":"White-S","weight_unit":"g","inventory_quantity":894,"sku":"101840860025","barcode":"","position":25,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1a1bbf03941f672c99b0d386cf7963bf.jpeg","path":"1a1bbf03941f672c99b0d386cf7963bf.jpeg","width":1080,"height":1080,"alt":"Eat Your Heart Out Skull 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\/eat-your-heart-out-skull-printed-mens-t-shirt?variant=ef9a78fb-111f-43d1-a5fa-481e3e691d0b","available_quantity":894,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":251};
return `
`
}()}