${function() {
const variantData = data.variant || {"id":"a54aea73-293d-4068-ac4a-87fbda314f81","product_id":"5d924a1b-4874-4b69-a6b0-685233a68194","title":"Dark Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV355883-DGY00S","barcode":"","position":7,"option1":"Dark Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9fcb2a382685d143fad5586f28da3658.jpeg","path":"9fcb2a382685d143fad5586f28da3658.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.78","price":"19.99","retail_price":"35.78","available":true,"url":"\/products\/mens-independence-day-jet-printed-vest?variant=a54aea73-293d-4068-ac4a-87fbda314f81","available_quantity":999999999,"options":[{"name":"Color","value":"Dark 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.