${function() {
const variantData = data.variant || {"id":"d4d1da8a-7eff-4080-b8e8-64eaa7d4d9ef","product_id":"ded75166-3efe-4054-bf55-65a97da6bf42","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":999,"sku":"103-230925-15-WT0223EYYL-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2843e35c5e1bd8b6e33e59eb95af9187.jpeg","path":"2843e35c5e1bd8b6e33e59eb95af9187.jpeg","width":850,"height":1134,"alt":"","aspect_ratio":0.7495590828924162},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.6","compare_at_price":"39.99","price":"39.99","retail_price":"39.99","available":true,"url":"\/products\/mens-simple-multicolor-gradient-print-buttoned-cardigan-sweater-2tfu?variant=d4d1da8a-7eff-4080-b8e8-64eaa7d4d9ef","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.