Jacquard knitted hat autumn and winter cold-proof and warm woolen hat
${function() {
const variantData = data.variant || {"id":"f4b3916a-6941-4ce8-8940-d58345f25ef4","product_id":"a686ae44-289a-4465-ab54-7a4d25c35dd8","title":"Black","weight_unit":"g","inventory_quantity":999,"sku":"XHiHwv8bj-Black","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4398e0fa7e2d29337ad442ea9580f7d1.jpeg","path":"4398e0fa7e2d29337ad442ea9580f7d1.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.89,"min_quantity":1}],"weight":"100","compare_at_price":"15","price":"8.89","retail_price":"15","available":true,"url":"\/products\/jacquard-knitted-hat-autumn-and-winter-cold-proof-and-warm-woolen-hat?variant=f4b3916a-6941-4ce8-8940-d58345f25ef4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":41,"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 `
`;
}()}