${function() {
const variantData = data.variant || {"id":"6a65309b-f048-4bd9-b904-af1659959983","product_id":"5a2e6b07-76f7-4730-93ca-25d6ca48f55d","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"CP39411-C004","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/94b5bb854acdcf9692349162f778b077.jpeg","path":"94b5bb854acdcf9692349162f778b077.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.99","retail_price":"0","available":true,"url":"\/products\/three-wise-men-nativity-set?variant=6a65309b-f048-4bd9-b904-af1659959983","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.