French Minimalism Style Short Coat with Scarf
${function() {
const variantData = data.variant || {"id":"1251f009-c088-44f4-97d7-791d9012d7b3","product_id":"3f3c092f-b1f3-482b-a1d6-421b01ed15f0","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-wzul?variant=1251f009-c088-44f4-97d7-791d9012d7b3","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":"1251f009-c088-44f4-97d7-791d9012d7b3","product_id":"3f3c092f-b1f3-482b-a1d6-421b01ed15f0","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-wzul?variant=1251f009-c088-44f4-97d7-791d9012d7b3","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 `
`;
}()}