${function() {
const variantData = data.variant || {"id":"2da1f57c-b173-4ea0-8222-b5f17c87348e","product_id":"980882e5-318d-4347-bc8e-5f7dbe96d3b0","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"20230615-E01-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d38705db67421b9fe693b0f83c89fd3f.jpg","path":"d38705db67421b9fe693b0f83c89fd3f.jpg","width":720,"height":960,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":31.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"31.99","retail_price":"0","available":true,"url":"\/products\/new-fashion-floral-print-flowers-in-the-waist-v-neck-sleeves-short-sleeved-fresh-and-sweet-dresses-women?variant=2da1f57c-b173-4ea0-8222-b5f17c87348e","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"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.