Temperament high neck knitted two-piece set
${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":"85c0f3fb-8a6c-4483-9ad1-095c371bcd3d","product_id":"51bb7807-312e-4903-bf53-ea8ab1e5f028","title":"apricot-L","weight_unit":"kg","inventory_quantity":1000,"sku":"66211118181-apricot-L","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0e8f0f0a4cb1d027c774a69a5c1fef5c.jpeg","path":"0e8f0f0a4cb1d027c774a69a5c1fef5c.jpeg","width":412,"height":412,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.65,"min_quantity":1}],"weight":"0","compare_at_price":"93.15","price":"48.65","retail_price":"93.15","available":true,"url":"\/products\/temperament-high-neck-knitted-two-piece-set?variant=85c0f3fb-8a6c-4483-9ad1-095c371bcd3d","available_quantity":1000,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"L"}],"off_ratio":48,"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-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