${function() {
const variantData = data.variant || {"id":"096a0804-7189-48e1-8e6a-588bb5aac366","product_id":"534c9595-1f54-462a-8efb-0db6abbbc63f","title":"Black-L","weight_unit":"kg","inventory_quantity":10000,"sku":"211019932-Black-L","barcode":"","position":1,"option1":"Black","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7caa79616ac937109aa6d745a4bd2e7a.png","path":"7caa79616ac937109aa6d745a4bd2e7a.png","width":800,"height":883,"alt":"Two-piece Long-sleeved Sports And Leisure Sweater Suit","aspect_ratio":0.9060022650056625},"wholesale_price":[{"price":27.15,"min_quantity":1}],"weight":"0.5","compare_at_price":"32.71","price":"27.15","retail_price":"32.71","available":true,"url":"\/products\/two-piece-long-sleeved-sports-and-leisure-sweater-suit?variant=096a0804-7189-48e1-8e6a-588bb5aac366","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"L"}],"off_ratio":17,"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.