Embroidered Autumn Warm Knitted Ski Beanie Hat
${function() {
const variantData = data.variant || {"id":"d9ef11b8-3795-455f-b833-ebcc2a9976a5","product_id":"1958bd32-50f9-4034-84e9-a9f610cc3ca7","title":"Black-One Size Fits All","weight_unit":"g","inventory_quantity":999,"sku":"XHwi7qsKe-Black-OneSizeFitsAll","barcode":"","position":1,"option1":"Black","option2":"One Size Fits All","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/23198c50280950ee2aaa5adebc664478.jpeg","path":"23198c50280950ee2aaa5adebc664478.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.89,"min_quantity":1}],"weight":"100","compare_at_price":"15","price":"10.89","retail_price":"15","available":true,"url":"\/products\/embroidered-autumn-warm-knitted-ski-beanie-hat?variant=d9ef11b8-3795-455f-b833-ebcc2a9976a5","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"One Size Fits All"}],"off_ratio":27,"flashsale_info":[],"sales":3};
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}
`
}()}
${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 `
`;
}()}