SAMEBIKE CY20-IT Folding 20" Electric Bike 350W motor with Removable 36V12AH Battery
❤️🔥Top Speed 32KM/ H❤️🔥Payload 150KG❤️🔥Range 40+40KM
${function() {
const variantData = data.variant || {"id":"85d8e0ec-58c0-47ce-bbf9-ff4e7ec87dd4","product_id":"cf2e2fe7-a314-4f45-9425-738610d11db4","title":"Black","weight_unit":"kg","inventory_quantity":92,"sku":"CY20-MJ-BK-EU-YSS","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7785d76408850981a8e8a2633233b8e3.jpg","path":"7785d76408850981a8e8a2633233b8e3.jpg","width":1200,"height":1200,"alt":"SAMEBIKE CY20-IT Folding 20\" Electric Bike 350W motor with Removable 36V12AH Battery","aspect_ratio":1},"wholesale_price":[{"price":749,"min_quantity":1}],"weight":"0","compare_at_price":"899","price":"749","retail_price":"899","available":true,"url":"\/products\/samebike-cy20-kxj6?variant=85d8e0ec-58c0-47ce-bbf9-ff4e7ec87dd4","available_quantity":999999999,"options":[{"name":"COLOR","value":"Black"}],"off_ratio":17,"flashsale_info":[],"sales":8};
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('')}
`;
}()}
${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}
`;
}()}