${function() {
const variantData = data.variant || {"id":"b20a2c39-4dd5-43dd-9f85-6257a1dd319c","product_id":"f3821805-f022-48ba-aa8a-84ce415ee12f","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH275054-GRY00S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9f48e9270d4cf89f1905b6dcb7d99523.jpeg","path":"9f48e9270d4cf89f1905b6dcb7d99523.jpeg","width":680,"height":907,"alt":"","aspect_ratio":0.7497243660418964},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"51.46","price":"25.99","retail_price":"51.46","available":true,"url":"\/products\/womens-christmas-stacked-cute-funny-cat-print-sweatshirt?variant=b20a2c39-4dd5-43dd-9f85-6257a1dd319c","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":49,"flashsale_info":[],"sales":3};
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.