${function() {
const variantData = data.variant || {"id":"e1d9d02a-da16-42a6-8d81-8a77c3b43fb2","product_id":"a2022398-bb79-493a-aa7f-8ef308fb48b6","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WSS263549-WHI00S","barcode":"","position":7,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b85d374e9d86ec7a9a23620155bf3af.jpeg","path":"5b85d374e9d86ec7a9a23620155bf3af.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"24.99","retail_price":"36.99","available":true,"url":"\/products\/womens-christmas-dogs-print-sweatshirt?variant=e1d9d02a-da16-42a6-8d81-8a77c3b43fb2","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":1};
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.