${function() {
const variantData = data.variant || {"id":"0cb3bd60-ad08-411a-968a-6aeadc5705d9","product_id":"d0cf3558-c4ca-4ea2-924f-e631924ab7dd","title":"Black-S","weight_unit":"kg","inventory_quantity":999,"sku":"131-240215-A05-MS0002B8XE-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5e2d07ea5da84cc5588f01bed927e221.jpeg","path":"5e2d07ea5da84cc5588f01bed927e221.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/mens-funny-black-cats-art-pattern-print-casual-sweatshirt?variant=0cb3bd60-ad08-411a-968a-6aeadc5705d9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":7};
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.