${function() {
const variantData = data.variant || {"id":"debee52b-5dcb-4396-863c-0c5c00b505a3","product_id":"6f877726-e180-45ee-ab61-48e9f9df7346","title":"Khaki-S","weight_unit":"g","inventory_quantity":829,"sku":"SKU102370670001","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e39cd1647cc44be3ba1015c9d611783e.jpeg","path":"e39cd1647cc44be3ba1015c9d611783e.jpeg","width":800,"height":800,"alt":"Bloody Dark Angel Printed Men's T-Shirt - ","aspect_ratio":1},"wholesale_price":[{"price":19.98,"min_quantity":1}],"weight":"250","compare_at_price":"28.98","price":"19.98","retail_price":"28.98","available":true,"url":"\/products\/bloody-dark-angel-printed-mens-t-shirt?variant=debee52b-5dcb-4396-863c-0c5c00b505a3","available_quantity":829,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":32};
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":"debee52b-5dcb-4396-863c-0c5c00b505a3","product_id":"6f877726-e180-45ee-ab61-48e9f9df7346","title":"Khaki-S","weight_unit":"g","inventory_quantity":829,"sku":"SKU102370670001","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e39cd1647cc44be3ba1015c9d611783e.jpeg","path":"e39cd1647cc44be3ba1015c9d611783e.jpeg","width":800,"height":800,"alt":"Bloody Dark Angel Printed Men's T-Shirt - ","aspect_ratio":1},"wholesale_price":[{"price":19.98,"min_quantity":1}],"weight":"250","compare_at_price":"28.98","price":"19.98","retail_price":"28.98","available":true,"url":"\/products\/bloody-dark-angel-printed-mens-t-shirt?variant=debee52b-5dcb-4396-863c-0c5c00b505a3","available_quantity":829,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":32};
return `
`
}()}