${function() {
const variantData = data.variant || {"id":"681aa26e-5cd3-4008-80a2-ef49eccaabf9","product_id":"9f06d0d9-0136-478f-ae94-b20c9298c143","title":"Dark Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI355858-DBL00S","barcode":"","position":1,"option1":"Dark Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/39ba69ec0fa2581ba0a5000b9323bb60.jpeg","path":"39ba69ec0fa2581ba0a5000b9323bb60.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.58","price":"19.99","retail_price":"37.58","available":true,"url":"\/products\/mens-independence-day-flag-horse-print-t-shirt?variant=681aa26e-5cd3-4008-80a2-ef49eccaabf9","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Blue"},{"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.