LANKELEISI X2000 PLUS Moped Elektrofahrrad Faltrad 12,8 Ah 48 V 1000 W 40 km/h Höchstgeschwindigkeit Max. Belastung 150 kg
${function() {
const variantData = data.variant || {"id":"00111ded-42ae-4846-af6f-691f3a7ad36e","product_id":"34179f1e-1b06-43e6-8c38-2d51bf2fdfe7","title":"Gr\u00fcn-EU","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Gr\u00fcn","option2":"EU","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4106cd677da52b49c8d8afd06fc4de94.jpg","path":"4106cd677da52b49c8d8afd06fc4de94.jpg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":899,"min_quantity":1}],"weight":"0","compare_at_price":"1299.99","price":"899","retail_price":"1299.99","available":true,"url":"\/products\/x2000-plus?variant=00111ded-42ae-4846-af6f-691f3a7ad36e","available_quantity":999999999,"options":[{"name":"Farbe","value":"Gr\u00fcn"},{"name":"Ausliefern","value":"EU"}],"off_ratio":31,"flashsale_info":[],"sales":15};
const saveType = "amount";
const productLabelDiscountOn = true;
const map = {
B: ` `,
C: ` `,
A: `
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`
}
const price_group_arr = ["B","C","A"];
const price_str_arr = price_group_arr.map(type => map[type]);
return `
-
${price_str_arr.join('')}
`;
}()}
Farbe:
Grün
${function(){
const optName = "Farbe";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Bitte w\u00e4hlen Sie einen {{ name }} aus".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Ausliefern:
EU
${function(){
const optName = "Ausliefern";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Bitte w\u00e4hlen Sie einen {{ name }} aus".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
In den Warenkorb legen
€899.00
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"00111ded-42ae-4846-af6f-691f3a7ad36e","product_id":"34179f1e-1b06-43e6-8c38-2d51bf2fdfe7","title":"Gr\u00fcn-EU","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Gr\u00fcn","option2":"EU","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4106cd677da52b49c8d8afd06fc4de94.jpg","path":"4106cd677da52b49c8d8afd06fc4de94.jpg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":899,"min_quantity":1}],"weight":"0","compare_at_price":"1299.99","price":"899","retail_price":"1299.99","available":true,"url":"\/products\/x2000-plus?variant=00111ded-42ae-4846-af6f-691f3a7ad36e","available_quantity":999999999,"options":[{"name":"Farbe","value":"Gr\u00fcn"},{"name":"Ausliefern","value":"EU"}],"off_ratio":31,"flashsale_info":[],"sales":15};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Kaufe jetzt
Produkt war ausverkauft.
Produkt ist nicht verfügbar.
${function() {
const minDays = parseInt('3');
const maxDays = parseInt('7');
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}
`;
}()}