${function() {
const variantData = data.variant || {"id":"1eb83bbe-280d-47bf-8a54-60a941e7eda0","product_id":"331c32e0-3489-475a-9e23-e02ca8ca4fa9","title":"Picture 1-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH285358-PT100S","barcode":"","position":1,"option1":"Picture 1","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9416e6ecbeea016a25491614b02da69.jpeg","path":"a9416e6ecbeea016a25491614b02da69.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"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-floral-dogs-print-sweater?variant=1eb83bbe-280d-47bf-8a54-60a941e7eda0","available_quantity":999999999,"options":[{"name":"Color","value":"Picture 1"},{"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.