${function() {
const variantData = data.variant || {"id":"811140e9-21db-4c3a-90d2-d0cc8173df0f","product_id":"2379d28d-d5ff-4db1-858e-ecf150014ad9","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230525-E01-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95a269cb5e996f9d6d3b1243fd56d119.jpg","path":"95a269cb5e996f9d6d3b1243fd56d119.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/new-butterfly-fashion-print-double-breasted-sleeveless-dress-loose-waist-pocket-fresh-sweet-womens-dresses?variant=811140e9-21db-4c3a-90d2-d0cc8173df0f","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.