${function() {
const variantData = data.variant || {"id":"600ab9cd-5561-49e0-a7d0-e7fdb7a4940e","product_id":"187acfb4-a4e1-4c02-ab2e-f7bd40c0207b","title":"khaki-S","weight_unit":"kg","inventory_quantity":0,"sku":"662209272764-khaki-S","barcode":"","position":1,"option1":"khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a24e97f67901fc2dcb84c8ae65bcaa2d.jpeg","path":"a24e97f67901fc2dcb84c8ae65bcaa2d.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=600ab9cd-5561-49e0-a7d0-e7fdb7a4940e","available_quantity":999999999,"options":[{"name":"color","value":"khaki"},{"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.