${function() {
const variantData = data.variant || {"id":"8ac23e62-d446-4fba-a6e3-8b7b908b3a1e","product_id":"f4508687-6c1b-48f2-bc33-b2a257827da9","title":"Black-S","weight_unit":"g","inventory_quantity":1000,"sku":"SS1158-B-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/270ab9427e1e36aa15cd70ef4caa7c58.jpg","path":"270ab9427e1e36aa15cd70ef4caa7c58.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"550","compare_at_price":"56.99","price":"36.89","retail_price":"56.99","available":true,"url":"\/products\/christmas-trees-crewneck-sweatshirt?variant=8ac23e62-d446-4fba-a6e3-8b7b908b3a1e","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Women Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":0};
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}
`
}()}