Cotton Lapel Neck and Pocket Long Jacket
${function() {
const variantData = data.variant || {"id":"aacfa7b9-6cc1-4368-aeeb-90fe1d74ea02","product_id":"fe98c5ec-fd4a-454c-89f0-b21195dae771","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308091922-Grey-S","barcode":"","position":6,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/674a4b1c637238ecd0bdb849595afb58.jpeg","path":"674a4b1c637238ecd0bdb849595afb58.jpeg","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":45.81,"min_quantity":1}],"weight":"0.3","compare_at_price":"64.9","price":"45.81","retail_price":"64.9","available":true,"url":"\/products\/cotton-lapel-neck-and-pocket-long-jacket?variant=aacfa7b9-6cc1-4368-aeeb-90fe1d74ea02","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":1};
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.
${function(){
const variantData = data.variant || {"id":"aacfa7b9-6cc1-4368-aeeb-90fe1d74ea02","product_id":"fe98c5ec-fd4a-454c-89f0-b21195dae771","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308091922-Grey-S","barcode":"","position":6,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/674a4b1c637238ecd0bdb849595afb58.jpeg","path":"674a4b1c637238ecd0bdb849595afb58.jpeg","width":800,"height":900,"alt":"","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":45.81,"min_quantity":1}],"weight":"0.3","compare_at_price":"64.9","price":"45.81","retail_price":"64.9","available":true,"url":"\/products\/cotton-lapel-neck-and-pocket-long-jacket?variant=aacfa7b9-6cc1-4368-aeeb-90fe1d74ea02","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":1};
return `
`
}()}
${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 `
`;
}()}