Salomon XT-6 Shoes
${function(){
const tipText = "Bitte w\u00e4hlen Sie einen {{ name }} aus".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function() {
const variantData = data.variant || {"id":"ccebb775-d2e9-4a50-a5a5-185a4a8bc477","product_id":"5bf4c7d3-03d4-43cf-a0ca-f05fab2144d2","title":"EU-36","weight_unit":"kg","inventory_quantity":0,"sku":"SK00002","barcode":"","position":1,"option1":"EU-36","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":83,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"83","retail_price":"0","available":true,"url":"\/products\/salomon-xt-6-shoes-5?variant=ccebb775-d2e9-4a50-a5a5-185a4a8bc477","available_quantity":999999999,"options":[{"name":"Size","value":"EU-36"}],"off_ratio":0,"flashsale_info":[],"sales":3621};
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 `
`;
}()}