${function() {
const variantData = data.variant || {"id":"513d0a1e-0ce3-47ab-9d29-4f65c9cffee7","product_id":"e719791d-0bbf-4d94-9729-5cb72bf42012","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH272307-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6f87e633d798a62c71868deabd901aed.jpeg","path":"6f87e633d798a62c71868deabd901aed.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"25.99","retail_price":"50","available":true,"url":"\/products\/womens-funny-cute-winter-cat-print-casual-sweatshirt?variant=513d0a1e-0ce3-47ab-9d29-4f65c9cffee7","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":48,"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.