Classic Mid-Length Buffalo Plaid Shirt Jacket with Functional Pocket, Chic Turndown Collar, and Contrasting Buttons
${function() {
const variantData = data.variant || {"id":"987a19ca-530e-4a5f-9b22-5a92b9d3647c","product_id":"497cdc9a-ee23-4a50-a328-127e1821bcf1","title":"Blue-S","weight_unit":"g","inventory_quantity":139,"sku":"601099700785895-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a51706f8a37422b68bcec70e633c0776.jpeg","path":"a51706f8a37422b68bcec70e633c0776.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=987a19ca-530e-4a5f-9b22-5a92b9d3647c","available_quantity":139,"options":[{"name":"Color","value":"Blue"},{"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 postageFreeAmount = 10;
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 `
`;
}()}
${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.
Sku : 601099700785895-Blue-S
${function(){
const variantData = data.variant || {"id":"987a19ca-530e-4a5f-9b22-5a92b9d3647c","product_id":"497cdc9a-ee23-4a50-a328-127e1821bcf1","title":"Blue-S","weight_unit":"g","inventory_quantity":139,"sku":"601099700785895-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a51706f8a37422b68bcec70e633c0776.jpeg","path":"a51706f8a37422b68bcec70e633c0776.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=987a19ca-530e-4a5f-9b22-5a92b9d3647c","available_quantity":139,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}