${function() {
const variantData = data.variant || {"id":"7c60a2bd-2254-4155-9eaf-c15999bbb630","product_id":"9e024591-b106-4ff3-9de8-ce81e98e0dc6","title":"Colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"086-230410-08-MS0002A9C4-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5709d0b99e314da4b988d69843519874.jpeg","path":"5709d0b99e314da4b988d69843519874.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-rainbow-plaid-shirt-2?variant=7c60a2bd-2254-4155-9eaf-c15999bbb630","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"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.