${function() {
const variantData = data.variant || {"id":"40860680-7d93-4e3a-8fe1-dfc3148a87e4","product_id":"61cbaf88-8f4b-42fa-8875-56742bbed2f7","title":"sky blue-3XL","weight_unit":"kg","inventory_quantity":0,"sku":"662212212725-sky blue-3XL","barcode":"","position":1,"option1":"sky blue","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7259857d12d64fc2838b515513d16958.jpeg","path":"7259857d12d64fc2838b515513d16958.jpeg","width":800,"height":800,"alt":"Fashion braided long-sleeved woolen dress","aspect_ratio":1},"wholesale_price":[{"price":53.65,"min_quantity":1}],"weight":"0.5","compare_at_price":"75","price":"53.65","retail_price":"75","available":true,"url":"\/products\/fashion-braided-long-sleeved-woolen-dress?variant=40860680-7d93-4e3a-8fe1-dfc3148a87e4","available_quantity":999999999,"options":[{"name":"color","value":"sky blue"},{"name":"size","value":"3XL"}],"off_ratio":28,"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.