${function() {
const variantData = data.variant || {"id":"7168073c-d375-48e2-9b44-95131315d2f4","product_id":"d5bcad37-cb3e-48e4-967e-08e4db389d06","title":"coffee-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211171824-coffee-one size","barcode":"","position":2,"option1":"coffee","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/645f9ffa3bf644c2ceee34377649a13e.jpeg","path":"645f9ffa3bf644c2ceee34377649a13e.jpeg","width":604,"height":669,"alt":"Elegant straight-fit loose casual jacket","aspect_ratio":0.9028400597907325},"wholesale_price":[{"price":49.75,"min_quantity":1}],"weight":"0.45","compare_at_price":"82.92","price":"49.75","retail_price":"82.92","available":true,"url":"\/products\/elegant-straight-fit-loose-casual-jacket?variant=7168073c-d375-48e2-9b44-95131315d2f4","available_quantity":999999999,"options":[{"name":"color","value":"coffee"},{"name":"size","value":"one size"}],"off_ratio":40,"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.