Alphabet trendy beanie personalized warm hat
${function() {
const variantData = data.variant || {"id":"6b168f40-45b2-4533-9b8b-308fe63483e3","product_id":"76d9eaad-ac1d-416a-ad63-d784a0116269","title":"Black","weight_unit":"g","inventory_quantity":999,"sku":"XHoM31bqF-Black","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/882089253da2291a9a27136296f4eabb.jpeg","path":"882089253da2291a9a27136296f4eabb.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\/alphabet-trendy-beanie-personalized-warm-hat?variant=6b168f40-45b2-4533-9b8b-308fe63483e3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":51,"flashsale_info":[],"sales":6};
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 `
`;
}()}