${function() {
const variantData = data.variant || {"id":"43206f2e-e938-492f-8531-890a406d7abd","product_id":"0782ddd0-3ddc-4227-8150-c448258fa68e","title":"Navy-M","weight_unit":"kg","inventory_quantity":1000,"sku":"MOC373256-NAV00M","barcode":"","position":13,"option1":"Navy","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4a35844305ca687f8ea3eba0920c875.jpeg","path":"e4a35844305ca687f8ea3eba0920c875.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"24.99","retail_price":"39.99","available":true,"url":"\/products\/mens-flag-independence-day-casual-shorts-7?variant=43206f2e-e938-492f-8531-890a406d7abd","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"M"}],"off_ratio":38,"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.