${function() {
const variantData = data.variant || {"id":"04c1e6ef-92ee-4a4f-a683-0bf5ceb21a7d","product_id":"5efdf1d6-bca4-4080-b2ae-34dc4a73ab2a","title":"Sand-S","weight_unit":"g","inventory_quantity":1000,"sku":"SS1043-S-S","barcode":"","position":1,"option1":"Sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c0137f5ea9809bdbbeb9f15d08dba971.jpg","path":"c0137f5ea9809bdbbeb9f15d08dba971.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"550","compare_at_price":"56.99","price":"35.99","retail_price":"56.99","available":true,"url":"\/products\/ill-always-be-your-biggest-fan-sweatshirt-ryds?variant=04c1e6ef-92ee-4a4f-a683-0bf5ceb21a7d","available_quantity":1000,"options":[{"name":"Color","value":"Sand"},{"name":"Unisex","value":"S"}],"off_ratio":37,"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 + '%'
: ``
)}
`;
}()}
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}
`
}()}