${function() {
const variantData = data.variant || {"id":"b883f997-adfc-437a-af02-74a6fd62fede","product_id":"fb915b60-9f4c-4641-87d5-4ac5e271bec5","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230606-E06-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6f200d27a0ff7f3e551b534eb7c1ccd.jpg","path":"b6f200d27a0ff7f3e551b534eb7c1ccd.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/summer-new-comfortable-casual-womens-loose-dress-sleeveless-painting-printed-umbrella-dress-casual-u-neck-vest-dress?variant=b883f997-adfc-437a-af02-74a6fd62fede","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.