Casual and versatile NYC letter wool knitted hat Japanese style
${function() {
const variantData = data.variant || {"id":"cb61c11f-f8de-4531-9a91-20776a7df050","product_id":"089acd4d-6bba-451d-b128-fb65cc3f0896","title":"Black","weight_unit":"g","inventory_quantity":999,"sku":"XH0PF61NS-Black","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2df67763c50468c299653be23c7192e6.jpeg","path":"2df67763c50468c299653be23c7192e6.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":12.89,"min_quantity":1}],"weight":"100","compare_at_price":"20","price":"12.89","retail_price":"20","available":true,"url":"\/products\/casual-and-versatile-nyc-letter-wool-knitted-hat-japanese-style?variant=cb61c11f-f8de-4531-9a91-20776a7df050","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":36,"flashsale_info":[],"sales":0};
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 `
`;
}()}