${function() {
const variantData = data.variant || {"id":"6565dd92-951d-4040-aa6a-f18d73f8a8ff","product_id":"0426a760-b23f-45ab-8b06-98c00aa1e1aa","title":"Black-S","weight_unit":"g","inventory_quantity":979,"sku":"101818120001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2dbf51a6f88f0de33b7d15ccb66be453.jpeg","path":"2dbf51a6f88f0de33b7d15ccb66be453.jpeg","width":1200,"height":1200,"alt":"Down With My Demons Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"15.98","retail_price":"21.48","available":true,"url":"\/products\/down-with-my-demons-printed-womens-t-shirt-mlbn?variant=6565dd92-951d-4040-aa6a-f18d73f8a8ff","available_quantity":979,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":9};
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":"6565dd92-951d-4040-aa6a-f18d73f8a8ff","product_id":"0426a760-b23f-45ab-8b06-98c00aa1e1aa","title":"Black-S","weight_unit":"g","inventory_quantity":979,"sku":"101818120001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2dbf51a6f88f0de33b7d15ccb66be453.jpeg","path":"2dbf51a6f88f0de33b7d15ccb66be453.jpeg","width":1200,"height":1200,"alt":"Down With My Demons Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":15.98,"min_quantity":1}],"weight":"250","compare_at_price":"21.48","price":"15.98","retail_price":"21.48","available":true,"url":"\/products\/down-with-my-demons-printed-womens-t-shirt-mlbn?variant=6565dd92-951d-4040-aa6a-f18d73f8a8ff","available_quantity":979,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":26,"flashsale_info":[],"sales":9};
return `
`
}()}