Classic Mid-Length Buffalo Plaid Shirt Jacket with Functional Pocket, Chic Turndown Collar, and Contrasting Buttons
${function() {
const variantData = data.variant || {"id":"eaea030e-4035-4011-bbb4-1e2c21f583d6","product_id":"497cdc9a-ee23-4a50-a328-127e1821bcf1","title":"Green-S","weight_unit":"g","inventory_quantity":145,"sku":"601099700785895-Green-S","barcode":"","position":3,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c16a533ce847bb58777fa84b98a9d86a.jpeg","path":"c16a533ce847bb58777fa84b98a9d86a.jpeg","width":1350,"height":1350,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.3,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.3","retail_price":"0","available":true,"url":"\/products\/classic-mid-length-buffalo-plaid-shirt-jacket-with-functional-pocket-chic-turndown-collar-and-contrasting-buttons?variant=eaea030e-4035-4011-bbb4-1e2c21f583d6","available_quantity":145,"options":[{"name":"Color","value":"Green"},{"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 `
`;
}()}