${function() {
const variantData = data.variant || {"id":"cdcd5eea-2981-42a5-94f2-8baa45780ffb","product_id":"187acfb4-a4e1-4c02-ab2e-f7bd40c0207b","title":"gray-S","weight_unit":"kg","inventory_quantity":0,"sku":"662209272764-gray-S","barcode":"","position":5,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/64376ff5a47082db9adfff364ffb729e.jpeg","path":"64376ff5a47082db9adfff364ffb729e.jpeg","width":800,"height":1000,"alt":"Contrasting shawl -colored knitted cardigan sweater jacket","aspect_ratio":0.8},"wholesale_price":[{"price":37.59,"min_quantity":1}],"weight":"0.5","compare_at_price":"65.95","price":"37.59","retail_price":"65.95","available":true,"url":"\/products\/contrasting-shawl-colored-knitted-cardigan-sweater-jacket-c5sb?variant=cdcd5eea-2981-42a5-94f2-8baa45780ffb","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"name":"size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.