New woolen warm knitted hat with English letters
${function() {
const variantData = data.variant || {"id":"1cf0e785-0138-42e5-b5ed-8b99ba56dcaa","product_id":"a2fd99b5-34b4-40ad-b254-42d41cd62081","title":"Black","weight_unit":"g","inventory_quantity":999,"sku":"XH2Ht8w04-Black","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/99489c17bd9e03336a491b0ec8aed742.jpeg","path":"99489c17bd9e03336a491b0ec8aed742.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\/new-woolen-warm-knitted-hat-with-english-letters?variant=1cf0e785-0138-42e5-b5ed-8b99ba56dcaa","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"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 `
`;
}()}