Samebike RS-A02 20" 48V 17Ah Battery 1200W Motor Max Speed 45KM/H Folding Off Road Ebike(Expected delivery on July 20)
❤️🔥Payload 180KG❤️🔥Range 65+65KM
${function() {
const variantData = data.variant || {"id":"6c0e5b72-545e-4672-927b-0e47da17aaaf","product_id":"c1d3671f-0ae1-471b-9020-328632572a19","title":"White","weight_unit":"kg","inventory_quantity":0,"sku":"RS-A02-IT-WH-EU","barcode":"","position":3,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8030897573c3146b689dd1f3b08be26e.webp","path":"8030897573c3146b689dd1f3b08be26e.webp","width":1200,"height":1200,"alt":"Samebike RS-A02 20\" 48V 17Ah Battery 1200W Motor Max Speed 45KM\/H Folding Off Road Ebike\uff08Expected delivery on July 20\uff09","aspect_ratio":1},"wholesale_price":[{"price":1399,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"1399","retail_price":"0","available":true,"url":"\/products\/samebike-rsa02?variant=6c0e5b72-545e-4672-927b-0e47da17aaaf","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"off_ratio":0,"flashsale_info":[],"sales":5};
const saveType = "amount";
const productLabelDiscountOn = false;
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('')}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product does not exist
${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}
`;
}()}