${function() {
const variantData = data.variant || {"id":"58924e69-dd88-4e69-ba5e-34db17636ad9","product_id":"ddfd56f8-46ba-449f-8929-e47fbdbfce74","title":"Purple","weight_unit":"kg","inventory_quantity":1000,"sku":"HT29696-C013","barcode":"","position":1,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/29e6087ae62a70ead8998f84cce252a3.jpeg","path":"29e6087ae62a70ead8998f84cce252a3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/multi-layer-shoulder-bag?variant=58924e69-dd88-4e69-ba5e-34db17636ad9","available_quantity":999999999,"options":[{"name":"Style","value":"Purple"}],"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.