${function() {
const variantData = data.variant || {"id":"de053968-7e3e-4e3b-9c8d-e74a042a5fa0","product_id":"de8832f8-2f0a-4bba-b942-49257fbc02fe","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308091882-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c22f25c534ca04c7075518b2b20e74f9.jpeg","path":"c22f25c534ca04c7075518b2b20e74f9.jpeg","width":800,"height":800,"alt":"Cat Keep Me Alive Retro Batik Printed T-Shirt","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"39.99","price":"23.99","retail_price":"39.99","available":true,"url":"\/products\/cat-keep-me-alive-retro-batik-printed-t-shirt?variant=de053968-7e3e-4e3b-9c8d-e74a042a5fa0","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.