${function() {
const variantData = data.variant || {"id":"ac8d6fd6-bc0c-4178-82b1-bcf0b8c98c3c","product_id":"452f6301-6398-406e-85e3-06fd20c21731","title":"Navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"DZ-120004-LYJ-Navy-S","barcode":"","position":1,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c799d2149be5453ac395e9fca7cd9934.jpeg","path":"c799d2149be5453ac395e9fca7cd9934.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/ocean-whale-art-pattern-cozy-loose-sweater?variant=ac8d6fd6-bc0c-4178-82b1-bcf0b8c98c3c","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"S"}],"off_ratio":0,"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.