${function() {
const variantData = data.variant || {"id":"53b8666d-dcc5-4d09-b1ff-32c54716f29f","product_id":"25e93895-117f-4306-ab3a-bd7a90630b8e","title":"Santa Claus","weight_unit":"kg","inventory_quantity":1000,"sku":"CP21048-X5137","barcode":"","position":1,"option1":"Santa Claus","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/523e6726441613b606075101a472b1f8.jpeg","path":"523e6726441613b606075101a472b1f8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/diy-bracelet-blind-box-calendar?variant=53b8666d-dcc5-4d09-b1ff-32c54716f29f","available_quantity":999999999,"options":[{"name":"Style","value":"Santa Claus"}],"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.