${function() {
const variantData = data.variant || {"id":"0e100498-147d-4401-aed2-f8d62cab9d28","product_id":"c5e4b393-560e-42d3-836c-f9746427fd3a","title":"Red-35","weight_unit":"kg","inventory_quantity":30,"sku":"ZRC-Red-35-A00314421","barcode":"","position":10,"option1":"Red","option2":"35","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9a354392793dbe3097dc9f636f04e4c.jpeg","path":"c9a354392793dbe3097dc9f636f04e4c.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.9,"min_quantity":1}],"weight":"0","compare_at_price":"49.8","price":"24.9","retail_price":"49.8","available":true,"url":"\/products\/new-fashion-comfortable-non-slip-sandalsf45254dd-fdf6-4561-8f2b-7fc44e2ecd91?variant=0e100498-147d-4401-aed2-f8d62cab9d28","available_quantity":30,"options":[{"name":"color","value":"Red"},{"name":"size","value":"35"}],"off_ratio":50,"flashsale_info":[],"sales":125};
const saveType = "amount";
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":"0e100498-147d-4401-aed2-f8d62cab9d28","product_id":"c5e4b393-560e-42d3-836c-f9746427fd3a","title":"Red-35","weight_unit":"kg","inventory_quantity":30,"sku":"ZRC-Red-35-A00314421","barcode":"","position":10,"option1":"Red","option2":"35","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9a354392793dbe3097dc9f636f04e4c.jpeg","path":"c9a354392793dbe3097dc9f636f04e4c.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.9,"min_quantity":1}],"weight":"0","compare_at_price":"49.8","price":"24.9","retail_price":"49.8","available":true,"url":"\/products\/new-fashion-comfortable-non-slip-sandalsf45254dd-fdf6-4561-8f2b-7fc44e2ecd91?variant=0e100498-147d-4401-aed2-f8d62cab9d28","available_quantity":30,"options":[{"name":"color","value":"Red"},{"name":"size","value":"35"}],"off_ratio":50,"flashsale_info":[],"sales":125};
return `
`
}()}