${function() {
const variantData = data.variant || {"id":"440b9fa3-69f4-4f1f-9c5c-0b9c2d3d6814","product_id":"19a1b99a-4ede-489c-b070-462df57052aa","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"141-231218-18-WS0001NENJ-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93057ea537566e311bb5187993003d0a.jpeg","path":"93057ea537566e311bb5187993003d0a.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-x8y4?variant=440b9fa3-69f4-4f1f-9c5c-0b9c2d3d6814","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.