${function() {
const variantData = data.variant || {"id":"0458c2d8-12a9-4860-86f5-e7e15e6bb30a","product_id":"ec714791-a03b-484d-8a0a-e0db3523306e","title":"Khaki-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308031301-Khaki-S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b39f382f4f039121acfc259abbbdd32c.jpeg","path":"b39f382f4f039121acfc259abbbdd32c.jpeg","width":800,"height":900,"alt":"Debbie Pleated Stylish Linen Dress","aspect_ratio":0.8888888888888888},"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=0458c2d8-12a9-4860-86f5-e7e15e6bb30a","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"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.