Cotton and linen casual knickerbockers
${function(){
return `
Please select a Color
`;
}()}
${function(){
return `
Please select a Size
`;
}()}
${function() {
const variantData = data.variant || {"id":"e9090b71-65a2-4041-b562-eab4f4b3cd01","product_id":"ca00ec7e-d743-4027-b381-257456ecddc3","title":"BEIGE-L","weight_unit":"kg","inventory_quantity":1000,"sku":"DM028470_BEIGE_L","barcode":"","position":1,"option1":"BEIGE","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a358910585316d3d74f3511738b3159.jpeg","path":"3a358910585316d3d74f3511738b3159.jpeg","width":746,"height":747,"alt":"","aspect_ratio":0.998661311914324},"wholesale_price":[{"price":23.98,"min_quantity":1}],"weight":"0","compare_at_price":"67.62","price":"23.98","retail_price":"67.62","available":true,"url":"\/products\/cotton-and-linen-casual-knickerbockers?variant=e9090b71-65a2-4041-b562-eab4f4b3cd01","available_quantity":999999999,"options":[{"name":"Color","value":"BEIGE"},{"name":"Size","value":"L"}],"off_ratio":65,"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:Jul-19 - Jul-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