Butterfly&Flower Print Casual Long Sleeve Shirt Dress
${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":"7d07c640-fddb-4765-b0b5-7bc8d557184a","product_id":"709289f8-97ac-4b70-8381-345f572eaab7","title":"photo Color-M","weight_unit":"kg","inventory_quantity":1000,"sku":"CPJH40205007-photo Color-M","barcode":"","position":1,"option1":"photo Color","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4441c013e2e04dd11d3124d5d400384d.jpeg","path":"4441c013e2e04dd11d3124d5d400384d.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":42.54,"min_quantity":1}],"weight":"0","compare_at_price":"68.99","price":"42.54","retail_price":"68.99","available":true,"url":"\/products\/casual-long-sleeve-shirt-dress-q2en-0jdn-ngte-1jl9-aiv3-0lo42b68fdab-2e29-441b-bb51-06e90e9e9fd0?variant=7d07c640-fddb-4765-b0b5-7bc8d557184a","available_quantity":999999999,"options":[{"name":"Color","value":"photo Color"},{"name":"Size","value":"M"}],"off_ratio":38,"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:Apr-29 - May-03
${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