Casual Harajuku Style Woolen Coat
${function() {
const variantData = data.variant || {"id":"39e3aa79-85e6-43d9-a5f0-db9a5f955ffa","product_id":"c07e92b6-d48a-4498-9d02-299b274f3fc6","title":"ivory-s","weight_unit":"kg","inventory_quantity":0,"sku":"20112407-ivory-s","barcode":"","position":3,"option1":"ivory","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6cbd59000dd5ae03b596a530b104524.png","path":"a6cbd59000dd5ae03b596a530b104524.png","width":578,"height":570,"alt":"","aspect_ratio":1.0140350877192983},"wholesale_price":[{"price":88.32,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"88.32","retail_price":"80","available":true,"url":"\/products\/casual-harajuku-style-woolen-coat?variant=39e3aa79-85e6-43d9-a5f0-db9a5f955ffa","available_quantity":999999999,"options":[{"name":"color","value":"ivory"},{"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 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":"39e3aa79-85e6-43d9-a5f0-db9a5f955ffa","product_id":"c07e92b6-d48a-4498-9d02-299b274f3fc6","title":"ivory-s","weight_unit":"kg","inventory_quantity":0,"sku":"20112407-ivory-s","barcode":"","position":3,"option1":"ivory","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a6cbd59000dd5ae03b596a530b104524.png","path":"a6cbd59000dd5ae03b596a530b104524.png","width":578,"height":570,"alt":"","aspect_ratio":1.0140350877192983},"wholesale_price":[{"price":88.32,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"88.32","retail_price":"80","available":true,"url":"\/products\/casual-harajuku-style-woolen-coat?variant=39e3aa79-85e6-43d9-a5f0-db9a5f955ffa","available_quantity":999999999,"options":[{"name":"color","value":"ivory"},{"name":"size","value":"s"}],"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 `
`;
}()}