${function() {
const variantData = data.variant || {"id":"20f48937-0c02-435b-bb0d-17f9770996d7","product_id":"8d700f9a-c4d7-4560-996c-d006c5712fc4","title":"LongSleeves-S","weight_unit":"kg","inventory_quantity":1000,"sku":"141-231219-21-MT0071CUDM-LongSleeves-S","barcode":"","position":9,"option1":"LongSleeves","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5dc2226152f25538c318302c2513a324.jpeg","path":"5dc2226152f25538c318302c2513a324.jpeg","width":850,"height":1134,"alt":"","aspect_ratio":0.7495590828924162},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/vintage-fun-dog-art-print-t-shirt-rwn0?variant=20f48937-0c02-435b-bb0d-17f9770996d7","available_quantity":999999999,"options":[{"name":"Color","value":"LongSleeves"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":17};
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.