${function() {
const variantData = data.variant || {"id":"1bdbc4fa-d5da-45a8-80c0-7a3354dc99b9","product_id":"6f3f301d-6e78-42b6-a490-d90ae7fbef2b","title":"Deep Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SS0219-DG-S","barcode":"","position":1,"option1":"Deep Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/109f10258e26db37a5365d0f08901188.jpeg","path":"109f10258e26db37a5365d0f08901188.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.97,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"35.97","retail_price":"49.99","available":true,"url":"\/products\/good-witch-deep-gray-sweatshirt?variant=1bdbc4fa-d5da-45a8-80c0-7a3354dc99b9","available_quantity":1000,"options":[{"name":"Color","value":"Deep Gray"},{"name":"Size","value":"S"}],"off_ratio":28,"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}
`
}()}