${function() {
const variantData = data.variant || {"id":"22f33209-f803-4d24-923f-8a56922bf6fd","product_id":"bb1ff57a-64ca-4abf-abbb-f1027739fa13","title":"Black-One Size","weight_unit":"g","inventory_quantity":1000,"sku":"HAT044-B","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e6e5fa1f4c4bd1aa2cf0ca3d34208e59.jpg","path":"e6e5fa1f4c4bd1aa2cf0ca3d34208e59.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":12.99,"min_quantity":1}],"weight":"100","compare_at_price":"20.99","price":"12.99","retail_price":"20.99","available":true,"url":"\/products\/paint-me-green-and-call-me-a-pickle-because-im-done-dillin-with-you-hat?variant=22f33209-f803-4d24-923f-8a56922bf6fd","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size"}],"off_ratio":38,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
Free Shipping On Orders Over $119
${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}
`
}()}