Urban Autumn And Winter Mid-length Coat
${function() {
const variantData = data.variant || {"id":"3c565635-99ec-4348-b2a6-9f745dd29156","product_id":"f72f7b88-79da-45c3-a30a-e9ae6707f355","title":"yellow-M","weight_unit":"g","inventory_quantity":999,"sku":"1580406547985514498","barcode":"","position":15,"option1":"yellow","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0dc0d4222d5eba2676689ab6f49b6932.jpeg","path":"0dc0d4222d5eba2676689ab6f49b6932.jpeg","width":800,"height":800,"alt":"Urban Autumn And Winter Mid-length Coat Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":54.95,"min_quantity":1}],"weight":"800","compare_at_price":"67.95","price":"54.95","retail_price":"67.95","available":true,"url":"\/products\/urban-autumn-and-winter-mid-length-coat?variant=3c565635-99ec-4348-b2a6-9f745dd29156","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"M"}],"off_ratio":19,"flashsale_info":[],"sales":1};
const saveType = "percentage";
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":"3c565635-99ec-4348-b2a6-9f745dd29156","product_id":"f72f7b88-79da-45c3-a30a-e9ae6707f355","title":"yellow-M","weight_unit":"g","inventory_quantity":999,"sku":"1580406547985514498","barcode":"","position":15,"option1":"yellow","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0dc0d4222d5eba2676689ab6f49b6932.jpeg","path":"0dc0d4222d5eba2676689ab6f49b6932.jpeg","width":800,"height":800,"alt":"Urban Autumn And Winter Mid-length Coat Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":54.95,"min_quantity":1}],"weight":"800","compare_at_price":"67.95","price":"54.95","retail_price":"67.95","available":true,"url":"\/products\/urban-autumn-and-winter-mid-length-coat?variant=3c565635-99ec-4348-b2a6-9f745dd29156","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Size","value":"M"}],"off_ratio":19,"flashsale_info":[],"sales":1};
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 `
`;
}()}