${function() {
const variantData = data.variant || {"id":"bf3ba90e-fd2c-438a-b2b9-df8a98666bec","product_id":"f48ac060-b5c9-48d8-b188-536608831a39","title":"green-6","weight_unit":"kg","inventory_quantity":0,"sku":"6622062706-green-6","barcode":"","position":13,"option1":"green","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c57546afba0ad806552aff7dc3149026.jpeg","path":"c57546afba0ad806552aff7dc3149026.jpeg","width":750,"height":600,"alt":"Casual outer wear flip-flops slippers","aspect_ratio":1.25},"wholesale_price":[{"price":35.6,"min_quantity":1}],"weight":"0.45","compare_at_price":"59.33","price":"35.6","retail_price":"59.33","available":true,"url":"\/products\/casual-outer-wear-flip-flops-slippers?variant=bf3ba90e-fd2c-438a-b2b9-df8a98666bec","available_quantity":999999999,"options":[{"name":"color","value":"green"},{"name":"size","value":"6"}],"off_ratio":40,"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.