Pleated fabric top and pants suit
${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":"4f24802b-78d8-468b-bf03-de1c5da20f6c","product_id":"d30f30cd-42f6-47cf-a2d4-882d755a86f4","title":"Orange-S(UK 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YE5688-Orange-S(UK 6-8)","barcode":"","position":1,"option1":"Orange","option2":"S(UK 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ccf66a7b016210d91327fcaced9ccbc4.jpeg","path":"ccf66a7b016210d91327fcaced9ccbc4.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":40.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"40.99","retail_price":"69.99","available":true,"url":"\/products\/pleated-fabric-top-and-pants-suit?variant=4f24802b-78d8-468b-bf03-de1c5da20f6c","available_quantity":999999999,"options":[{"name":"color","value":"Orange"},{"name":"size","value":"S(UK 6-8)"}],"off_ratio":41,"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-23 - Mar-27
${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