${function() {
const variantData = data.variant || {"id":"5b4dddff-3ab5-45fc-9d5a-c5107ac8dfd0","product_id":"8685d630-104e-494f-af49-4268d1d8aa11","title":"Blue-M","weight_unit":"kg","inventory_quantity":1000,"sku":"SH2404178665-Blue-M","barcode":"","position":1,"option1":"Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a939e0f7da4d6dbdb78076732fffa65.png","path":"2a939e0f7da4d6dbdb78076732fffa65.png","width":640,"height":800,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.95","price":"52.99","retail_price":"59.95","available":true,"url":"\/products\/mens-v-neck-luxury-independence-day-color-block-textured-print-shorts-set-006e80aa488-9cbc-4f4c-a417-073c528a9933?variant=5b4dddff-3ab5-45fc-9d5a-c5107ac8dfd0","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"M"}],"off_ratio":12,"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.