${function() {
const variantData = data.variant || {"id":"4ca28e5f-5a11-4242-af63-46348a333c2a","product_id":"68e4cd61-d456-4a09-be7a-8386bf27fa4b","title":"black","weight_unit":"kg","inventory_quantity":1000,"sku":"CP42453-C001","barcode":"","position":3,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f21ac22b44660055b4712f1ff4c65341.jpeg","path":"f21ac22b44660055b4712f1ff4c65341.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"13.99","retail_price":"0","available":true,"url":"\/products\/professional-choking-emergency-device-for-adult-and-children?variant=4ca28e5f-5a11-4242-af63-46348a333c2a","available_quantity":999999999,"options":[{"name":"Color","value":"black"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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}
`
}()}
Product was out of stock.
Product is unavailable.