Retro Elegant Woolen Set Coat
${function() {
const variantData = data.variant || {"id":"543ff723-19e2-4851-a68c-7b9cced8e142","product_id":"c67e6563-8b52-475c-ab2b-bdef08699eb6","title":"ginger-s","weight_unit":"kg","inventory_quantity":0,"sku":"20120908-ginger-s","barcode":"","position":3,"option1":"ginger","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e01165385ebb4d92fec9acc5130aebae.jpeg","path":"e01165385ebb4d92fec9acc5130aebae.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":54.83,"min_quantity":1}],"weight":"0","compare_at_price":"70","price":"54.83","retail_price":"70","available":true,"url":"\/products\/retro-elegant-woolen-suit-coat-5eff?variant=543ff723-19e2-4851-a68c-7b9cced8e142","available_quantity":999999999,"options":[{"name":"color","value":"ginger"},{"name":"size","value":"s"}],"off_ratio":22,"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":"543ff723-19e2-4851-a68c-7b9cced8e142","product_id":"c67e6563-8b52-475c-ab2b-bdef08699eb6","title":"ginger-s","weight_unit":"kg","inventory_quantity":0,"sku":"20120908-ginger-s","barcode":"","position":3,"option1":"ginger","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e01165385ebb4d92fec9acc5130aebae.jpeg","path":"e01165385ebb4d92fec9acc5130aebae.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":54.83,"min_quantity":1}],"weight":"0","compare_at_price":"70","price":"54.83","retail_price":"70","available":true,"url":"\/products\/retro-elegant-woolen-suit-coat-5eff?variant=543ff723-19e2-4851-a68c-7b9cced8e142","available_quantity":999999999,"options":[{"name":"color","value":"ginger"},{"name":"size","value":"s"}],"off_ratio":22,"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 `
`;
}()}