${function() {
const variantData = data.variant || {"id":"0dcdebd3-c995-495a-aec8-d72b2338ce2d","product_id":"43fc1a54-e424-48f1-b607-f1fac72b0362","title":"Deep Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SS0273-DG-S","barcode":"","position":1,"option1":"Deep Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/338b3112d37fa7bd7238c073bc1fa058.jpg","path":"338b3112d37fa7bd7238c073bc1fa058.jpg","width":800,"height":1001,"alt":"","aspect_ratio":0.7992007992007992},"wholesale_price":[{"price":33.98,"min_quantity":1}],"weight":"450","compare_at_price":"52.99","price":"33.98","retail_price":"52.99","available":true,"url":"\/products\/christmas-friends-deep-gray-sweatshirt-9xzx?variant=0dcdebd3-c995-495a-aec8-d72b2338ce2d","available_quantity":1000,"options":[{"name":"Color","value":"Deep Gray"},{"name":"Size","value":"S"}],"off_ratio":36,"flashsale_info":[],"sales":5};
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}
`
}()}