Knitted hat cross warm men's and women's embroidered woolen hat
${function() {
const variantData = data.variant || {"id":"3986b5e6-a71d-49bd-b1d7-fef8fc25eec8","product_id":"d9ad86bd-f78a-40ed-950a-4f312c24e2ea","title":"Black Background With Red Lines","weight_unit":"g","inventory_quantity":999,"sku":"XHNVxrdUD-BlackBackgroundWithRedLines","barcode":"","position":1,"option1":"Black Background With Red Lines","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/08ff031d8ca549b721079e689f00ed55.jpeg","path":"08ff031d8ca549b721079e689f00ed55.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.89,"min_quantity":1}],"weight":"180","compare_at_price":"18","price":"8.89","retail_price":"18","available":true,"url":"\/products\/knitted-hat-cross-warm-mens-and-womens-embroidered-woolen-hat?variant=3986b5e6-a71d-49bd-b1d7-fef8fc25eec8","available_quantity":999999999,"options":[{"name":"Color","value":"Black Background With Red Lines"}],"off_ratio":51,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${function() {
const postageFreeAmount = 69;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}