${function() {
const variantData = data.variant || {"id":"70dbd1af-fafd-451c-9678-d81f8675f137","product_id":"ba325f8a-d4fd-408e-ae41-1dedfa7cc6cd","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"141-231218-16-WS00018U7V-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/57d0d498bc29f73887c8a4933e4a83aa.jpeg","path":"57d0d498bc29f73887c8a4933e4a83aa.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"27.99","price":"27.99","retail_price":"27.99","available":true,"url":"\/products\/lucky-shamrock-green-cocktail-club-st-patricks-day-print-casual-sweatshirt-qfhe?variant=70dbd1af-fafd-451c-9678-d81f8675f137","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"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.