JK College Style Solid Color Ribbing Knitted Leg Warmers
${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":"b932f490-b3db-4772-b94f-615d97174022","product_id":"508170e4-7760-4d7d-8d43-2f666688d8b6","title":"black-onesize","weight_unit":"kg","inventory_quantity":1000,"sku":"1322010274-black-onesize","barcode":"","position":1,"option1":"black","option2":"onesize","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8475390205a944a03d128335ed9b56a3.jpeg","path":"8475390205a944a03d128335ed9b56a3.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.59,"min_quantity":1}],"weight":"0","compare_at_price":"24.83","price":"21.59","retail_price":"24.83","available":true,"url":"\/products\/jk-college-style-solid-color-ribbing-knitted-leg-warmers?variant=b932f490-b3db-4772-b94f-615d97174022","available_quantity":1000,"options":[{"name":"color","value":"black"},{"name":"size","value":"onesize"}],"off_ratio":13,"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:May-17 - May-21
${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