Lady'S Long Woolen Coat Multi-Button Woolen Coat
${function() {
const variantData = data.variant || {"id":"c3822086-d5e2-4370-bfc6-4052c684734c","product_id":"76410189-5655-4aec-960d-7a8d226cc415","title":"Khaki-3XL","weight_unit":"kg","inventory_quantity":500,"sku":"211008228-Khaki-3XL","barcode":"","position":1,"option1":"Khaki","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e46be699ce94edd6d993bc49365baac.jpeg","path":"3e46be699ce94edd6d993bc49365baac.jpeg","width":415,"height":549,"alt":"","aspect_ratio":0.75591985428051},"wholesale_price":[{"price":49.98,"min_quantity":1}],"weight":"0.7","compare_at_price":"49","price":"49.98","retail_price":"49","available":true,"url":"\/products\/ladys-long-woolen-coat-multi-button-woolen-coat?variant=c3822086-d5e2-4370-bfc6-4052c684734c","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"3XL"}],"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.
${function(){
const variantData = data.variant || {"id":"c3822086-d5e2-4370-bfc6-4052c684734c","product_id":"76410189-5655-4aec-960d-7a8d226cc415","title":"Khaki-3XL","weight_unit":"kg","inventory_quantity":500,"sku":"211008228-Khaki-3XL","barcode":"","position":1,"option1":"Khaki","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e46be699ce94edd6d993bc49365baac.jpeg","path":"3e46be699ce94edd6d993bc49365baac.jpeg","width":415,"height":549,"alt":"","aspect_ratio":0.75591985428051},"wholesale_price":[{"price":49.98,"min_quantity":1}],"weight":"0.7","compare_at_price":"49","price":"49.98","retail_price":"49","available":true,"url":"\/products\/ladys-long-woolen-coat-multi-button-woolen-coat?variant=c3822086-d5e2-4370-bfc6-4052c684734c","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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 `
`;
}()}