Nike SB Dunk Low Blue Lobster
${function(){
const tipText = "Bitte w\u00e4hlen Sie einen {{ name }} aus".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function() {
const variantData = data.variant || {"id":"da7fdb52-491a-4fcb-86b6-a097ea2f1c7f","product_id":"e83ba16f-9ed8-4c6b-96d3-b7db961b1c24","title":"us-m-3-5-us-w-5","weight_unit":"kg","inventory_quantity":2000,"sku":"SK00002","barcode":"","position":1,"option1":"us-m-3-5-us-w-5","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/18880b9ab2939dc14320e79b69d3d044.jpeg","path":"18880b9ab2939dc14320e79b69d3d044.jpeg","width":700,"height":420,"alt":"","aspect_ratio":1.6666666666666667},"wholesale_price":[{"price":68,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"68","retail_price":"0","available":true,"url":"\/products\/nike-sb-dunk-low-blue-lobster?variant=da7fdb52-491a-4fcb-86b6-a097ea2f1c7f","available_quantity":2000,"options":[{"name":"size","value":"us-m-3-5-us-w-5"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
people are viewing this right now
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('15');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}
Produkt war ausverkauft.
Produkt ist nicht verfügbar.
${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 `
`;
}()}