${function() {
const variantData = data.variant || {"id":"e2646cd1-6da4-41e0-8926-fd369d8a1c7b","product_id":"16f6f50c-894c-4657-9bbb-e13ed3b6aeab","title":"green","weight_unit":"kg","inventory_quantity":1000,"sku":"CP17555-C004","barcode":"","position":2,"option1":"green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c70328286f7d37630c1e86826674c42.jpeg","path":"4c70328286f7d37630c1e86826674c42.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\/portable-multifunctional-medicine-box?variant=e2646cd1-6da4-41e0-8926-fd369d8a1c7b","available_quantity":999999999,"options":[{"name":"Color","value":"green"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.