${function() {
const variantData = data.variant || {"id":"67a89ebe-8a68-40ff-90f4-fa593e11a7b4","product_id":"9418d122-2c05-4eb4-8c7e-d9a7cbfd1980","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MOC373240-KHA00S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aafff98dcdac4b464c78653ef961529d.jpeg","path":"aafff98dcdac4b464c78653ef961529d.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"44.99","price":"25.99","retail_price":"44.99","available":true,"url":"\/products\/mens-vintage-distressed-hem-independence-day-print-loose-shorts?variant=67a89ebe-8a68-40ff-90f4-fa593e11a7b4","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":42,"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.