${function() {
const variantData = data.variant || {"id":"30c80db1-af03-4cc9-9a10-82a4b2122464","product_id":"768a54fb-51aa-4141-ac9f-ff11644545ca","title":"Black-S","weight_unit":"g","inventory_quantity":1,"sku":"SS0496-B-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/916a4d69a91f0483e49fabf558517849.jpg","path":"916a4d69a91f0483e49fabf558517849.jpg","width":1000,"height":1250,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"450","compare_at_price":"49.99","price":"32.99","retail_price":"49.99","available":true,"url":"\/products\/expensive-and-difficult-sweatshirt-jylk?variant=30c80db1-af03-4cc9-9a10-82a4b2122464","available_quantity":1,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":14};
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}
`
}()}