${function() {
const variantData = data.variant || {"id":"26f2d599-b65d-4aac-965b-753575977b3a","product_id":"db1a9b52-bcfc-4a68-bd49-08da814f93a3","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MOC366758-GRY00S","barcode":"","position":8,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22fd8327abbb6e636ffea38e6f2946ba.jpeg","path":"22fd8327abbb6e636ffea38e6f2946ba.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-11?variant=26f2d599-b65d-4aac-965b-753575977b3a","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"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.