${function() {
const variantData = data.variant || {"id":"fc278b6f-1472-43fb-bf83-edc0f84e8865","product_id":"9ea1b546-89b1-4554-9a2b-63a8576355ad","title":"Green-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"MSR263101-GRN1XS","barcode":"","position":1,"option1":"Green","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d7d16589d89e3ce77fbea439b469f266.jpeg","path":"d7d16589d89e3ce77fbea439b469f266.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"34.99","retail_price":"59.99","available":true,"url":"\/products\/turtle-print-lapel-pocket-long-sleeve-mens-shirt?variant=fc278b6f-1472-43fb-bf83-edc0f84e8865","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"XS"}],"off_ratio":42,"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.