${function() {
const variantData = data.variant || {"id":"f899ac80-e166-4a28-ae12-6fc3a711c76a","product_id":"78ec0b91-df1f-4341-ba6c-b8919e8f8dcc","title":"black-6","weight_unit":"kg","inventory_quantity":0,"sku":"6622062710-black-6","barcode":"","position":7,"option1":"black","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7aec6594f491129e139e96dd29bd2a06.jpeg","path":"7aec6594f491129e139e96dd29bd2a06.jpeg","width":800,"height":800,"alt":"Chain Straw Braided Flip-On Sandals","aspect_ratio":1},"wholesale_price":[{"price":36.43,"min_quantity":1}],"weight":"0","compare_at_price":"53.39","price":"36.43","retail_price":"53.39","available":true,"url":"\/products\/chain-straw-braided-flip-on-sandals?variant=f899ac80-e166-4a28-ae12-6fc3a711c76a","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"6"}],"off_ratio":32,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.