${function() {
const variantData = data.variant || {"id":"b6ff4d13-eab3-4dab-b89d-987cf3e6940a","product_id":"7d2ad4df-986b-463d-bf7a-691c1118f59e","title":"Beige-S","weight_unit":"kg","inventory_quantity":1000,"sku":"K571271652883271680","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/138e3e084da760bd910aa3c0fd1bcf05.jpeg","path":"138e3e084da760bd910aa3c0fd1bcf05.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"24.99","retail_price":"23.99","available":true,"url":"\/products\/mens-otters-plants-intertwined-printed-casual-sweatshirt75fdf981-6904-4753-b2f5-89fad8c10307?variant=b6ff4d13-eab3-4dab-b89d-987cf3e6940a","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":0,"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.