${function() {
const variantData = data.variant || {"id":"e2f8a68d-47c5-402b-b3d0-0cd4d1612ece","product_id":"d8ba1657-d7af-4d30-b774-55f930fe7642","title":"Khaki-6.5","weight_unit":"","inventory_quantity":197,"sku":"","barcode":"","position":1,"option1":"Khaki","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ee8f4031a25ff00da28e9d35e233bcd.jpeg","path":"7ee8f4031a25ff00da28e9d35e233bcd.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"52.99","retail_price":"55","available":true,"url":"\/products\/mens-sandals-beach-shoes-handmade-breathable-casual-outdoor-sandals?variant=e2f8a68d-47c5-402b-b3d0-0cd4d1612ece","available_quantity":197,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"6.5"}],"off_ratio":4,"flashsale_info":[],"sales":4};
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.
${function(){
const variantData = data.variant || {"id":"e2f8a68d-47c5-402b-b3d0-0cd4d1612ece","product_id":"d8ba1657-d7af-4d30-b774-55f930fe7642","title":"Khaki-6.5","weight_unit":"","inventory_quantity":197,"sku":"","barcode":"","position":1,"option1":"Khaki","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7ee8f4031a25ff00da28e9d35e233bcd.jpeg","path":"7ee8f4031a25ff00da28e9d35e233bcd.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"52.99","retail_price":"55","available":true,"url":"\/products\/mens-sandals-beach-shoes-handmade-breathable-casual-outdoor-sandals?variant=e2f8a68d-47c5-402b-b3d0-0cd4d1612ece","available_quantity":197,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"6.5"}],"off_ratio":4,"flashsale_info":[],"sales":4};
return `
`
}()}