Hip-hop warm and fashionable knitted hat
${function() {
const variantData = data.variant || {"id":"ee6ab7a9-9e2c-49dd-b071-e8d351987d81","product_id":"2b5b70c9-208f-4d7a-812d-e937bf105dc5","title":"Black-22Cm","weight_unit":"g","inventory_quantity":999,"sku":"XHcC8hkYJ-Black-22Cm","barcode":"","position":1,"option1":"Black","option2":"22Cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf0e55a7c4e69fbb90ba9f5955f29405.jpeg","path":"bf0e55a7c4e69fbb90ba9f5955f29405.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.89,"min_quantity":1}],"weight":"150","compare_at_price":"18","price":"9.89","retail_price":"18","available":true,"url":"\/products\/hip-hop-warm-and-fashionable-knitted-hat?variant=ee6ab7a9-9e2c-49dd-b071-e8d351987d81","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"22Cm"}],"off_ratio":45,"flashsale_info":[],"sales":5};
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 `
`;
}()}