Women's Casual Print Long Coat
${function(){
const optName = "color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value;
return `
Please select a color
`;
}()}
${function(){
const optName = "size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value;
return `
Please select a size
`;
}()}
${function() {
const variantData = data.variant || {"id":"39d978a5-bfd5-41d7-97ef-54ff57ccb023","product_id":"0eb7426b-b0ea-46ef-a30b-6f8c542a6e1c","title":"Blue-US6","weight_unit":"kg","inventory_quantity":294,"sku":"L8697-Blue-US6","barcode":"","position":1,"option1":"Blue","option2":"US6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1182df64ded4333a5eea69351f1b0f76.jpeg","path":"1182df64ded4333a5eea69351f1b0f76.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":65.54,"min_quantity":1}],"weight":"0.5","compare_at_price":"154.05","price":"65.54","retail_price":"154.05","available":true,"url":"\/products\/womens-casual-print-long-coat?variant=39d978a5-bfd5-41d7-97ef-54ff57ccb023","available_quantity":999999999,"options":[{"name":"color","value":"Blue"},{"name":"size","value":"US6"}],"off_ratio":57,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productSaveLabel = false;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}%` : `-` }
`; }()}
Free worldwide shipping 80$ +
Product was out of stock.
Product is unavailable.
Estimated Delivery:Apr-21 - Apr-25
${function() {
const type = 'hero';
const postageFreeAmount = 80;
const custom_text_hero = "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";
const custom_text_wind = "Buy {amount} more to enjoy FREE Shipping";
const custom_text = type === 'hero' ? custom_text_hero : custom_text_wind;
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
${type === 'hero' ?
`
` :
`
${tipText}
Your order is free delivery
`
}
`;
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
people are viewing this right now