${function() {
const variantData = data.variant || {"id":"e10e12d0-006d-4003-85be-430042d98075","product_id":"7b227286-b69a-43b2-97c4-c604b226e330","title":"White-S","weight_unit":"g","inventory_quantity":853,"sku":"102045240009","barcode":"","position":9,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51c074fe8f40631448c36313a3b8ab51.jpeg","path":"51c074fe8f40631448c36313a3b8ab51.jpeg","width":2000,"height":2000,"alt":"Horror Demon Nun 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\/horror-demon-nun-printed-mens-t-shirt?variant=e10e12d0-006d-4003-85be-430042d98075","available_quantity":853,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
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":"e10e12d0-006d-4003-85be-430042d98075","product_id":"7b227286-b69a-43b2-97c4-c604b226e330","title":"White-S","weight_unit":"g","inventory_quantity":853,"sku":"102045240009","barcode":"","position":9,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51c074fe8f40631448c36313a3b8ab51.jpeg","path":"51c074fe8f40631448c36313a3b8ab51.jpeg","width":2000,"height":2000,"alt":"Horror Demon Nun 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\/horror-demon-nun-printed-mens-t-shirt?variant=e10e12d0-006d-4003-85be-430042d98075","available_quantity":853,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":2};
return `
`
}()}