${function() {
const variantData = data.variant || {"id":"72934856-d47d-46ad-9117-39945dfc2faf","product_id":"6c644f3c-289e-4c8e-85d3-f3a35f7ad422","title":"Blue-M","weight_unit":"kg","inventory_quantity":1000,"sku":"SH2404178659-Blue-M","barcode":"","position":1,"option1":"Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9251b3613470e8c8642a20fc259632a6.png","path":"9251b3613470e8c8642a20fc259632a6.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-set469aabb5-ebef-46c2-9eb7-3b9da1323816?variant=72934856-d47d-46ad-9117-39945dfc2faf","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.