${function() {
const variantData = data.variant || {"id":"42e05fda-982b-4bc8-8647-a1bd49503112","product_id":"1c4ca263-250a-49e7-9070-0ca80ace1d31","title":"Navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BL230424226-Navy-S","barcode":"","position":1,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d716563e2b112e25a00284fa6fe37b1a.jpeg","path":"d716563e2b112e25a00284fa6fe37b1a.jpeg","width":576,"height":770,"alt":"Loose V-neck Long-sleeved Shirt Top","aspect_ratio":0.7480519480519481},"wholesale_price":[{"price":34.65,"min_quantity":1}],"weight":"0.26","compare_at_price":"45","price":"34.65","retail_price":"45","available":true,"url":"\/products\/loose-v-neck-long-sleeved-shirt-top?variant=42e05fda-982b-4bc8-8647-a1bd49503112","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"S"}],"off_ratio":23,"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.