${function() {
const variantData = data.variant || {"id":"17f82419-132d-4852-bc2d-4862f6092b27","product_id":"f48ac060-b5c9-48d8-b188-536608831a39","title":"black-6","weight_unit":"kg","inventory_quantity":0,"sku":"6622062706-black-6","barcode":"","position":7,"option1":"black","option2":"6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fee72ff9202310bef4e57fa6b5cda98d.jpeg","path":"fee72ff9202310bef4e57fa6b5cda98d.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=17f82419-132d-4852-bc2d-4862f6092b27","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"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.