${function() {
const variantData = data.variant || {"id":"7b537900-567e-4078-9586-9ca71e5c899c","product_id":"c3942042-c5a7-4dbc-b1bf-c7b937efcfd3","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV355853-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3109bca71c1229ca4368ae87c9bf11d9.jpeg","path":"3109bca71c1229ca4368ae87c9bf11d9.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"35.7","price":"18.99","retail_price":"35.7","available":true,"url":"\/products\/mens-independence-day-vintage-printed-vest?variant=7b537900-567e-4078-9586-9ca71e5c899c","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":47,"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.