Hip-hop tassel wool personalized trendy knitted hat
${function() {
const variantData = data.variant || {"id":"149e6926-c4d5-4fa7-8c98-86a5f87b7509","product_id":"049f61bc-0546-4d61-a4fa-31bff87b177d","title":"Style 1-38Cm","weight_unit":"g","inventory_quantity":999,"sku":"XHHpaRMtI-Style1-38Cm","barcode":"","position":1,"option1":"Style 1","option2":"38Cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce2c4dea63817e6e15cb87f367554a69.jpeg","path":"ce2c4dea63817e6e15cb87f367554a69.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.89,"min_quantity":1}],"weight":"150","compare_at_price":"18","price":"10.89","retail_price":"18","available":true,"url":"\/products\/hip-hop-tassel-wool-personalized-trendy-knitted-hat?variant=149e6926-c4d5-4fa7-8c98-86a5f87b7509","available_quantity":999999999,"options":[{"name":"Color","value":"Style 1"},{"name":"Size","value":"38Cm"}],"off_ratio":40,"flashsale_info":[],"sales":45};
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 `
`;
}()}