Ingvn - Casual Pockets Long Sleeve Solid Tops
${function() {
const variantData = data.variant || {"id":"67188c04-d161-4cc4-94a0-1c0f11a2ca50","product_id":"cc170bb3-53e3-4265-98fa-8603fbaff977","title":"Deep Gray-S","weight_unit":"kg","inventory_quantity":99999,"sku":"TP2558","barcode":"","position":1,"option1":"Deep Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5ae6256005ddc2c0e4c95db8d5ebce2c.jpeg","path":"5ae6256005ddc2c0e4c95db8d5ebce2c.jpeg","width":750,"height":1000,"alt":"Ingvn - Casual Pockets Long Sleeve Solid Tops Deep Gray \/ S","aspect_ratio":0.75},"wholesale_price":[{"price":23.59,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.59","retail_price":"0","available":true,"url":"\/products\/casual-pockets-long-sleeve-solid-tops?variant=67188c04-d161-4cc4-94a0-1c0f11a2ca50","available_quantity":999999999,"options":[{"name":"Color","value":"Deep Gray"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
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}
`
}()}
Product was out of stock.
Product is unavailable.
people are viewing this right now
${function() {
const postageFreeAmount = 35;
const custom_text = "\u003Cdiv style=\"background-color: #fcf5f5; padding: 20px; text-align: center; max-width: 400px; margin: 0 auto; box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);\"\u003E\n \u003Ch1 style=\"font-size: 24px; margin: 10px 0; color: black;\"\u003E\n NEW YEAR DISCOUNT \u003Cspan style=\"font-size: 1.2em;\"\u003E\ud83d\udd25\u003C\/span\u003E\n \u003C\/h1\u003E\n\n \u003Cp style=\"color: black; font-size: 18px;\"\u003E\n \u003Cspan style=\"color: red; font-weight: bold;\"\u003E10% OFF EVERYTHING!\u003C\/span\u003E\n \u003C\/p\u003E\n\n \u003Cp style=\"color: black; font-size: 18px;\"\u003E\n Use code \u003Cspan style=\"color: red; font-weight: bold;\"\u003EVIP10\u003C\/span\u003E\n \u003Cspan style=\"font-size: 1.2em;\"\u003E\ud83d\udecd\u003C\/span\u003E\n \u003C\/p\u003E\n\n \u003Cp style=\"color: black; font-size: 18px;\"\u003E\n \ud83d\ude9a \u003Cspan style=\"color: red; font-weight: bold;\"\u003EFree shipping on orders over $35\u003C\/span\u003E\n \u003C\/p\u003E\n\n \u003Cp style=\"color: black; font-size: 18px;\"\u003E\n \u26a0 Due to warehouse upgrades, all orders placed after \n \u003Cspan style=\"color: red; font-weight: bold;\"\u003EFebruary 5\u003C\/span\u003E \n will be shipped in order after \n \u003Cspan style=\"color: red; font-weight: bold;\"\u003EMarch 4th\u003C\/span\u003E.\n \u003C\/p\u003E\n\u003C\/div\u003E";
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 `
`;
}()}