${function() {
const variantData = data.variant || {"id":"0be072cc-2656-4102-a4d2-826f305026a5","product_id":"08a172e3-3982-476c-80a1-97263d6b4132","title":"red brown 01-US6.5","weight_unit":"","inventory_quantity":299,"sku":"-red brown 01-6.5-A00146458","barcode":"","position":1,"option1":"red brown 01","option2":"US6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abb8f6f296823dae0251288f43ab8187.jpeg","path":"abb8f6f296823dae0251288f43ab8187.jpeg","width":650,"height":650,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.1,"min_quantity":1}],"weight":"0","compare_at_price":"49","price":"45.1","retail_price":"49","available":true,"url":"\/products\/mens-slip-on-sandals-slides-beach-leather-shoes?variant=0be072cc-2656-4102-a4d2-826f305026a5","available_quantity":299,"options":[{"name":"Color","value":"red brown 01"},{"name":"Size","value":"US6.5"}],"off_ratio":8,"flashsale_info":[],"sales":28};
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":"0be072cc-2656-4102-a4d2-826f305026a5","product_id":"08a172e3-3982-476c-80a1-97263d6b4132","title":"red brown 01-US6.5","weight_unit":"","inventory_quantity":299,"sku":"-red brown 01-6.5-A00146458","barcode":"","position":1,"option1":"red brown 01","option2":"US6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abb8f6f296823dae0251288f43ab8187.jpeg","path":"abb8f6f296823dae0251288f43ab8187.jpeg","width":650,"height":650,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.1,"min_quantity":1}],"weight":"0","compare_at_price":"49","price":"45.1","retail_price":"49","available":true,"url":"\/products\/mens-slip-on-sandals-slides-beach-leather-shoes?variant=0be072cc-2656-4102-a4d2-826f305026a5","available_quantity":299,"options":[{"name":"Color","value":"red brown 01"},{"name":"Size","value":"US6.5"}],"off_ratio":8,"flashsale_info":[],"sales":28};
return `
`
}()}