French Minimalism Style Short Coat with Scarf
${function() {
const variantData = data.variant || {"id":"d4d2a97e-c63e-4f3a-a65c-4cb7c3c9903a","product_id":"9bce77cd-cbb1-4ff7-a351-8f30d3d4d517","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2310136525-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9bfa6feb9e4698772c91f84f3d82a682.jpeg","path":"9bfa6feb9e4698772c91f84f3d82a682.jpeg","width":1000,"height":1200,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":48.96,"min_quantity":1}],"weight":"0","compare_at_price":"77.28","price":"48.96","retail_price":"77.28","available":false,"url":"\/products\/french-minimalism-style-short-coat-with-scarf?variant=d4d2a97e-c63e-4f3a-a65c-4cb7c3c9903a","available_quantity":0,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":37,"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":"d4d2a97e-c63e-4f3a-a65c-4cb7c3c9903a","product_id":"9bce77cd-cbb1-4ff7-a351-8f30d3d4d517","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2310136525-Grey-S","barcode":"","position":1,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9bfa6feb9e4698772c91f84f3d82a682.jpeg","path":"9bfa6feb9e4698772c91f84f3d82a682.jpeg","width":1000,"height":1200,"alt":"","aspect_ratio":0.8333333333333334},"wholesale_price":[{"price":48.96,"min_quantity":1}],"weight":"0","compare_at_price":"77.28","price":"48.96","retail_price":"77.28","available":false,"url":"\/products\/french-minimalism-style-short-coat-with-scarf?variant=d4d2a97e-c63e-4f3a-a65c-4cb7c3c9903a","available_quantity":0,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":37,"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 `
`;
}()}