${function() {
const variantData = data.variant || {"id":"a5eeeaba-27eb-4e86-86f9-7d900848fc47","product_id":"a4cc0357-674f-42df-86f3-4ff61ecdb4f0","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"213140883576-Black-S","barcode":"","position":9,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b3508a3e69b9814d63bf512fa4f221e8.jpeg","path":"b3508a3e69b9814d63bf512fa4f221e8.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"64.99","price":"27.99","retail_price":"64.99","available":true,"url":"\/products\/christmas-mens-funny-christmas-3d-zipper-polo-tree-letter-casual-print-3d-zip-golf-outdoor-daily-wear-streetwear-polyester-short-sleeve-turndown-zip-shirts-black-wine-autumn-fall-s-m-l?variant=a5eeeaba-27eb-4e86-86f9-7d900848fc47","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":57,"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.