Autumn and winter single-breasted solid color lapel pocket double-sided cashmere mid-length coat for women
${function() {
const variantData = data.variant || {"id":"5f1a061b-5bb4-4d54-8cc7-253b12c2aed8","product_id":"39ca2986-34d7-49e2-8520-267c45695979","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"-Blue-S-A001040","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2179fc39f9d84f1535661f689664942.jpeg","path":"c2179fc39f9d84f1535661f689664942.jpeg","width":1345,"height":1797,"alt":"","aspect_ratio":0.7484696716750139},"wholesale_price":[{"price":32.15,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.15","retail_price":"0","available":true,"url":"\/products\/autumn-and-winter-single-breasted-solid-color-lapel-pocket-double-sided-cashmere-mid-length-coat-for-women?variant=5f1a061b-5bb4-4d54-8cc7-253b12c2aed8","available_quantity":999999999,"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.
${function(){
const variantData = data.variant || {"id":"5f1a061b-5bb4-4d54-8cc7-253b12c2aed8","product_id":"39ca2986-34d7-49e2-8520-267c45695979","title":"Blue-S","weight_unit":"kg","inventory_quantity":0,"sku":"-Blue-S-A001040","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2179fc39f9d84f1535661f689664942.jpeg","path":"c2179fc39f9d84f1535661f689664942.jpeg","width":1345,"height":1797,"alt":"","aspect_ratio":0.7484696716750139},"wholesale_price":[{"price":32.15,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.15","retail_price":"0","available":true,"url":"\/products\/autumn-and-winter-single-breasted-solid-color-lapel-pocket-double-sided-cashmere-mid-length-coat-for-women?variant=5f1a061b-5bb4-4d54-8cc7-253b12c2aed8","available_quantity":999999999,"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}
`
}()}