${function() {
const variantData = data.variant || {"id":"f9a7f531-2321-413c-a2fe-1448e39b390d","product_id":"4027b59b-c1d6-411e-a2da-3efe1dedb364","title":"Green-S","weight_unit":"kg","inventory_quantity":6657,"sku":"BL230509901-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/30940aacb5ac5e451d11c55928cba505.jpeg","path":"30940aacb5ac5e451d11c55928cba505.jpeg","width":600,"height":900,"alt":"Beach Style Strapless Big Swing Dress","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0.29","compare_at_price":"55","price":"38.99","retail_price":"55","available":true,"url":"\/products\/beach-style-strapless-big-swing-dress?variant=f9a7f531-2321-413c-a2fe-1448e39b390d","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"sIZE","value":"S"}],"off_ratio":29,"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.