${function() {
const variantData = data.variant || {"id":"60d065f6-bcac-4911-b914-99f778fcd7cd","product_id":"355e9d9a-f272-4808-9c60-c7417ae532ef","title":"red-S","weight_unit":"kg","inventory_quantity":0,"sku":"662210291003-red-S","barcode":"","position":1,"option1":"red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c82b8efec198033b1eba8849f2e4901c.jpeg","path":"c82b8efec198033b1eba8849f2e4901c.jpeg","width":1600,"height":1600,"alt":"A floral print round neck hoodie for Christmas","aspect_ratio":1},"wholesale_price":[{"price":31.59,"min_quantity":1}],"weight":"0.3","compare_at_price":"56.41","price":"31.59","retail_price":"56.41","available":true,"url":"\/products\/a-floral-print-round-neck-hoodie-for-christmas?variant=60d065f6-bcac-4911-b914-99f778fcd7cd","available_quantity":999999999,"options":[{"name":"color","value":"red"},{"name":"size","value":"S"}],"off_ratio":44,"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.