${function() {
const variantData = data.variant || {"id":"2732b912-2880-4735-b522-9bd5f722dcbd","product_id":"f38f6c3b-da61-48d1-a28c-14dbe8d6a6d0","title":"Sand-S","weight_unit":"g","inventory_quantity":1000,"sku":"SS0530-S-S","barcode":"","position":1,"option1":"Sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65638b88d742fd40f0a609f0cf55b981.jpg","path":"65638b88d742fd40f0a609f0cf55b981.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.97,"min_quantity":1}],"weight":"500","compare_at_price":"54.99","price":"35.97","retail_price":"54.99","available":true,"url":"\/products\/have-a-holly-dolly-christmas-cowgirl-hat-sweatshirt?variant=2732b912-2880-4735-b522-9bd5f722dcbd","available_quantity":1000,"options":[{"name":"Color","value":"Sand"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":2};
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}
`
}()}