${function() {
const variantData = data.variant || {"id":"0a02f04a-29c8-4de0-9729-2156db5d6b6f","product_id":"40485da7-1d77-4e77-9409-0cfae135aa7d","title":"Colorful-M","weight_unit":"g","inventory_quantity":997,"sku":"103-221031-A5-MT0043KEQX-Colorful-M","barcode":"","position":1,"option1":"Colorful","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0d129916c7f0fb86d4cc88956eb4dd29.jpeg","path":"0d129916c7f0fb86d4cc88956eb4dd29.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"750","compare_at_price":"52.99","price":"59.99","retail_price":"52.99","available":true,"url":"\/products\/mens-art-colors-long-sleeved-fleece-sweater-coat-cardigan?variant=0a02f04a-29c8-4de0-9729-2156db5d6b6f","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"M"}],"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.