${function() {
const variantData = data.variant || {"id":"c6526df0-cc37-415e-b0da-504755259ffd","product_id":"03be5c5d-34a0-42ea-82fb-3630c8e64ae3","title":"Black-A-5.5","weight_unit":"kg","inventory_quantity":1000,"sku":"a-Black-A-5.5-A002156","barcode":"","position":1,"option1":"Black-A","option2":"5.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd1a19b84691b87066b9192c3ff30c58.jpeg","path":"cd1a19b84691b87066b9192c3ff30c58.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"89.99","price":"59.99","retail_price":"89.99","available":true,"url":"\/products\/winter-warm-mens-casual-shoes?variant=c6526df0-cc37-415e-b0da-504755259ffd","available_quantity":1000,"options":[{"name":"COLOR","value":"Black-A"},{"name":"SIZE","value":"5.5"}],"off_ratio":33,"flashsale_info":[],"sales":0};
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.