${function() {
const variantData = data.variant || {"id":"92c74083-3e7d-4933-bac9-082e46d01707","product_id":"348ba9fa-0db3-4a9f-9d4e-e11ccbcc88c1","title":"Red-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"20230616-E11-Red-XS","barcode":"","position":1,"option1":"Red","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c95b0031e926b0129c9f7ebc7b933d3.jpg","path":"8c95b0031e926b0129c9f7ebc7b933d3.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.99","retail_price":"0","available":true,"url":"\/products\/new-loose-type-womens-abstract-print-short-sleeved-t-shirt-temperament-commuter-comfortable-casual-tops?variant=92c74083-3e7d-4933-bac9-082e46d01707","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"XS"}],"off_ratio":0,"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.