${function() {
const variantData = data.variant || {"id":"8bc0424b-7926-437a-b012-84e8d4562177","product_id":"f01337bb-ef22-4fc7-b05a-ff67c965ca3e","title":"Gray & White-One Size For Adult","weight_unit":"g","inventory_quantity":774,"sku":"S0031-GW","barcode":"","position":1,"option1":"Gray & White","option2":"One Size For Adult","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eab3bc4c0652e135cd68c47237f1a407.png","path":"eab3bc4c0652e135cd68c47237f1a407.png","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"40","compare_at_price":"18.99","price":"9.99","retail_price":"18.99","available":true,"url":"\/products\/mele-kalikimaka-hawaii-christmas-socks?variant=8bc0424b-7926-437a-b012-84e8d4562177","available_quantity":774,"options":[{"name":"Color","value":"Gray & White"},{"name":"Size","value":"One Size For Adult"}],"off_ratio":47,"flashsale_info":[],"sales":228};
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}
`
}()}