${function() {
const variantData = data.variant || {"id":"59fbab76-f8bd-4c05-a41b-578a9071a261","product_id":"27ffa10d-a417-4905-898b-c5ede164e1f1","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS168457-GRY00S","barcode":"","position":13,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab2d065f56889f9224a5e2bc826de1f6.jpeg","path":"ab2d065f56889f9224a5e2bc826de1f6.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"24.99","retail_price":"37.99","available":true,"url":"\/products\/womens-slainte-slainte-st-patricks-day-long-sleeve-t-shirt?variant=59fbab76-f8bd-4c05-a41b-578a9071a261","available_quantity":1000,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":34,"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.