Cotton Linen Solid Color Casual Top
${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":"dde8b92d-b1ba-4c7b-8cf0-61b480f2ffae","product_id":"6d899cca-f085-4b6f-8fb1-ad7367e03b98","title":"Coffee-M","weight_unit":"kg","inventory_quantity":1000,"sku":"WSH213065-COF00M","barcode":"","position":1,"option1":"Coffee","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cde3052dfc223c84d38ae416c8179987.jpeg","path":"cde3052dfc223c84d38ae416c8179987.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.69,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"35.69","retail_price":"69.99","available":true,"url":"\/products\/cotton-linen-solid-color-casual-top-fsce?variant=dde8b92d-b1ba-4c7b-8cf0-61b480f2ffae","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"M"}],"off_ratio":49,"flashsale_info":[],"sales":0};
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:Mar-19 - Mar-23
${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