${function() {
const variantData = data.variant || {"id":"8d94ee24-a707-4fbc-93fb-95c68f68c1f0","product_id":"ec714791-a03b-484d-8a0a-e0db3523306e","title":"Green-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308031301-Green-S","barcode":"","position":13,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9446eaf475e5a26f1d1e204a22c0468.jpeg","path":"a9446eaf475e5a26f1d1e204a22c0468.jpeg","width":770,"height":1012,"alt":"Debbie Pleated Stylish Linen Dress","aspect_ratio":0.7608695652173914},"wholesale_price":[{"price":45.39,"min_quantity":1}],"weight":"0.4","compare_at_price":"63","price":"45.39","retail_price":"63","available":true,"url":"\/products\/debbie-pleated-stylish-linen-dress?variant=8d94ee24-a707-4fbc-93fb-95c68f68c1f0","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":28,"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.