${function() {
const variantData = data.variant || {"id":"5466739d-d021-4585-90fb-2c4a5acdc982","product_id":"7e07f124-dcd2-4011-86f6-d36400af8493","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MOC366186-KHA00S","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60f38b8bce02ca4dfcf8e457c9c16f84.jpeg","path":"60f38b8bce02ca4dfcf8e457c9c16f84.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0","compare_at_price":"85.99","price":"47.99","retail_price":"85.99","available":true,"url":"\/products\/mens-vintage-flag-independence-day-multi-pocket-print-cargo-shorts-4?variant=5466739d-d021-4585-90fb-2c4a5acdc982","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":44,"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.