${function() {
const variantData = data.variant || {"id":"5dfa69cb-f810-4476-9626-7134c5f02dc2","product_id":"a53bc13f-3337-4d30-a866-4372fc5e7d5b","title":"Sand-S","weight_unit":"g","inventory_quantity":1000,"sku":"SS1131-S-S","barcode":"","position":1,"option1":"Sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a04f518eb7858971967ce3f7ce084a39.jpg","path":"a04f518eb7858971967ce3f7ce084a39.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"550","compare_at_price":"54.99","price":"35.99","retail_price":"54.99","available":true,"url":"\/products\/the-only-b-s-i-need-is-beer-and-sunshine-sweatshirt?variant=5dfa69cb-f810-4476-9626-7134c5f02dc2","available_quantity":1000,"options":[{"name":"Color","value":"Sand"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":1};
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}
`
}()}