${function() {
const variantData = data.variant || {"id":"1958338f-cff3-4bb6-a313-3ed0d3a9c8e1","product_id":"2ef0fac5-221a-4741-a499-90828fd9dc6d","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH288272-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb61a62eb6317b674e306083cb12d5f4.jpeg","path":"fb61a62eb6317b674e306083cb12d5f4.jpeg","width":680,"height":907,"alt":"","aspect_ratio":0.7497243660418964},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"24.99","retail_price":"42.99","available":true,"url":"\/products\/womens-winter-funny-cute-wonderland-clothingl-clipart-cat-coffee-printed-hooded-sweatshirt?variant=1958338f-cff3-4bb6-a313-3ed0d3a9c8e1","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":42,"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.