Fashion Color Block Skeleton Printed Stockings
${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":"56ae4fac-bf67-4a1e-85c9-42275f868166","product_id":"6ed6eb61-7b48-4ac8-a296-998444a2b16f","title":"black 1-onesize","weight_unit":"kg","inventory_quantity":1000,"sku":"1322040268-black 1-onesize","barcode":"","position":1,"option1":"black 1","option2":"onesize","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b116ef2fb0d82f4589a78c8e1ded53ad.jpeg","path":"b116ef2fb0d82f4589a78c8e1ded53ad.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":16.19,"min_quantity":1}],"weight":"0","compare_at_price":"16.19","price":"16.19","retail_price":"16.19","available":true,"url":"\/products\/fashion-color-block-skeleton-printed-stockings?variant=56ae4fac-bf67-4a1e-85c9-42275f868166","available_quantity":1000,"options":[{"name":"color","value":"black 1"},{"name":"size","value":"onesize"}],"off_ratio":0,"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-18 - May-22
${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