${function() {
const variantData = data.variant || {"id":"bf4e78e9-2940-4fa6-ac72-20c83072406d","product_id":"3cec1a13-c918-45d0-8c6d-1409da8736a6","title":"Navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"DZ-120005-LYJ-Navy-S","barcode":"","position":1,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7352e1b9039d8fdb52ac8e88478c8089.jpeg","path":"7352e1b9039d8fdb52ac8e88478c8089.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-shark-knit-art-cozy-loose-sweater?variant=bf4e78e9-2940-4fa6-ac72-20c83072406d","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.