${function() {
const variantData = data.variant || {"id":"128e0ff7-4c66-4bc0-adca-da8973938b27","product_id":"27ffa10d-a417-4905-898b-c5ede164e1f1","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS168457-BLA00S","barcode":"","position":7,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5983d08c1cebb9ee84295c0c36b502bc.jpeg","path":"5983d08c1cebb9ee84295c0c36b502bc.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=128e0ff7-4c66-4bc0-adca-da8973938b27","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"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.