${function() {
const variantData = data.variant || {"id":"5230ae9a-6548-4ac5-8858-a7a6ff5c68d2","product_id":"c167fde0-be54-4047-87cb-6545300c64e8","title":"Green-US7","weight_unit":"","inventory_quantity":1992,"sku":"Green-39-A00121804","barcode":"","position":1,"option1":"Green","option2":"US7","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a596616a36a8bb0b2324b154c186ed9f.jpeg","path":"a596616a36a8bb0b2324b154c186ed9f.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"49.99","retail_price":"55.99","available":true,"url":"\/products\/new-summer-men-leather-mesh-soft-outdoor-walking-beach-sandals?variant=5230ae9a-6548-4ac5-8858-a7a6ff5c68d2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"US7"}],"off_ratio":11,"flashsale_info":[],"sales":910};
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":"5230ae9a-6548-4ac5-8858-a7a6ff5c68d2","product_id":"c167fde0-be54-4047-87cb-6545300c64e8","title":"Green-US7","weight_unit":"","inventory_quantity":1992,"sku":"Green-39-A00121804","barcode":"","position":1,"option1":"Green","option2":"US7","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a596616a36a8bb0b2324b154c186ed9f.jpeg","path":"a596616a36a8bb0b2324b154c186ed9f.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"49.99","retail_price":"55.99","available":true,"url":"\/products\/new-summer-men-leather-mesh-soft-outdoor-walking-beach-sandals?variant=5230ae9a-6548-4ac5-8858-a7a6ff5c68d2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"US7"}],"off_ratio":11,"flashsale_info":[],"sales":910};
return `
`
}()}