${function() {
const variantData = data.variant || {"id":"2a8a0878-ac92-4958-bea9-03fc3ae6f464","product_id":"1c4ca263-250a-49e7-9070-0ca80ace1d31","title":"Beige-S","weight_unit":"kg","inventory_quantity":1000,"sku":"BL230424226-Beige-S","barcode":"","position":17,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/86f5683f20885136601d8453cb598568.jpeg","path":"86f5683f20885136601d8453cb598568.jpeg","width":577,"height":768,"alt":"Loose V-neck Long-sleeved Shirt Top","aspect_ratio":0.7513020833333334},"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=2a8a0878-ac92-4958-bea9-03fc3ae6f464","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"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.