${function() {
const variantData = data.variant || {"id":"0385e503-e5f7-4caf-a9b4-9f746e6ed4e1","product_id":"8874e91e-d60f-448a-8061-73aa04871027","title":"Black-37","weight_unit":"kg","inventory_quantity":1000,"sku":"12000029214429786","barcode":"","position":1,"option1":"Black","option2":"37","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/14e6744af067cda32f280aec4d85133c.jpeg","path":"14e6744af067cda32f280aec4d85133c.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.9,"min_quantity":1}],"weight":"0","compare_at_price":"49.9","price":"49.9","retail_price":"49.9","available":true,"url":"\/products\/3256804262704268?variant=0385e503-e5f7-4caf-a9b4-9f746e6ed4e1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Shoe Size","value":"37"}],"off_ratio":0,"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.