${function() {
const variantData = data.variant || {"id":"ab5f5254-70bc-4a27-8ce4-89e245392e25","product_id":"6142dde2-46e5-4183-ac54-b5a849762014","title":"Deep Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Top362-DG-S","barcode":"","position":1,"option1":"Deep Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a18b845194cc89c21edda136e315702a.jpg","path":"a18b845194cc89c21edda136e315702a.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"25.99","price":"23.99","retail_price":"25.99","available":true,"url":"\/products\/chasing-sunshine-t-shirt?variant=ab5f5254-70bc-4a27-8ce4-89e245392e25","available_quantity":1000,"options":[{"name":"Color","value":"Deep Gray"},{"name":"Size","value":"S"}],"off_ratio":8,"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}
`
}()}