${function() {
const variantData = data.variant || {"id":"4f0886a6-8dc3-4ba4-b3c4-86c5b44cdfb0","product_id":"5473be44-2448-42ab-9d24-4d96195f7f2b","title":"Green-L","weight_unit":"kg","inventory_quantity":0,"sku":"77210923868-Green-L","barcode":"","position":1,"option1":"Green","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1638614d0263bcc705ed332e68881bae.jpeg","path":"1638614d0263bcc705ed332e68881bae.jpeg","width":800,"height":800,"alt":"Casual Drawstring Hooded Crop Top And Pants Set","aspect_ratio":1},"wholesale_price":[{"price":28.73,"min_quantity":1}],"weight":"0.74","compare_at_price":"34.2","price":"28.73","retail_price":"34.2","available":true,"url":"\/products\/casual-drawstring-hooded-crop-top-and-pants-set?variant=4f0886a6-8dc3-4ba4-b3c4-86c5b44cdfb0","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"L"}],"off_ratio":16,"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.