${function() {
const variantData = data.variant || {"id":"7e21c397-fb21-4ef8-a72c-aed2bc43ba48","product_id":"b3f73478-234c-42d9-a7c1-d0b542794a57","title":"Black-S","weight_unit":"kg","inventory_quantity":997,"sku":"103-240520-A06-MT00719V8Z-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/186280dd74108ee842f569135c2441cf.jpeg","path":"186280dd74108ee842f569135c2441cf.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/mens-lgbt-gay-bear-good-boy-pride-print-t-shirt?variant=7e21c397-fb21-4ef8-a72c-aed2bc43ba48","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.