${function() {
const variantData = data.variant || {"id":"74f51849-006a-40c7-ad79-9163ebda3ce1","product_id":"85414554-fee2-47d2-8d0d-f6e8a03bd1cf","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103-230920-28-WT0223Q5S9-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7f490b5bf091fdd01abe3479c4cb11e1.jpeg","path":"7f490b5bf091fdd01abe3479c4cb11e1.jpeg","width":850,"height":1134,"alt":"","aspect_ratio":0.7495590828924162},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0.6","compare_at_price":"37.99","price":"37.99","retail_price":"37.99","available":true,"url":"\/products\/mens-art-rainbow-stripe-print-buttoned-cardigan-sweater?variant=74f51849-006a-40c7-ad79-9163ebda3ce1","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.