${function() {
const variantData = data.variant || {"id":"f848b60d-4425-4583-8efc-a53c9a4eaaef","product_id":"62887232-0cb4-4c72-859c-45dfa30137f3","title":"muilticolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-231019-A44-WS0001BYRV-muilticolor-S","barcode":"","position":1,"option1":"muilticolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4cd8b94f69d5fa86774ccb0083765ab.jpeg","path":"d4cd8b94f69d5fa86774ccb0083765ab.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/christmas-tree-design-casual-sweatshirt?variant=f848b60d-4425-4583-8efc-a53c9a4eaaef","available_quantity":999999999,"options":[{"name":"Color","value":"muilticolor"},{"name":"Size","value":"S"}],"off_ratio":0,"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.