${function() {
const variantData = data.variant || {"id":"57a19f5a-3162-433a-854b-c3e3331f6247","product_id":"34633b39-85c8-4e64-a89c-5114d437bcc9","title":"Black-One Size","weight_unit":"g","inventory_quantity":1000,"sku":"HAT013-B","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/92e833ac1e4b12dda16a1f1bce479f5e.jpg","path":"92e833ac1e4b12dda16a1f1bce479f5e.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\/built-in-the-forties-hat?variant=57a19f5a-3162-433a-854b-c3e3331f6247","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}
`
}()}