${function() {
const variantData = data.variant || {"id":"612d7233-ddaf-4564-80e0-428067262ce9","product_id":"e397687d-82fc-4c60-8c59-d3d451d0073a","title":"As shown-S","weight_unit":"kg","inventory_quantity":999,"sku":"SWH282070-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/35896bace630e2fe8f9cdb2d71c0a01c.jpeg","path":"35896bace630e2fe8f9cdb2d71c0a01c.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"40.99","price":"24.99","retail_price":"40.99","available":true,"url":"\/products\/womens-cat-print-long-sleeve-sweatshirt-3?variant=612d7233-ddaf-4564-80e0-428067262ce9","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":39,"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.