LANKELEISI RV700 16Ah 48V 1000W Electric Bicycle 26inch 42km/h Max speed Max Load 150kg
${function() {
const variantData = data.variant || {"id":"df99db04-5f42-48df-981e-88ffb935fc59","product_id":"8372be43-cc50-4c37-8e6c-6aad93ac4fda","title":"yellow-US","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"yellow","option2":"US","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd3b8c0c9806bc48e5ed0283aa18e0ca.webp","path":"dd3b8c0c9806bc48e5ed0283aa18e0ca.webp","width":720,"height":720,"alt":"LANKELEISI RV700 16Ah 48V 1000W Electric Bicycle 26inch 42km\/h Max speed Max Load 150kg","aspect_ratio":1},"wholesale_price":[{"price":1799,"min_quantity":1}],"weight":"0","compare_at_price":"2611","price":"1799","retail_price":"2611","available":true,"url":"\/products\/rv700?variant=df99db04-5f42-48df-981e-88ffb935fc59","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Ship To","value":"US"}],"off_ratio":31,"flashsale_info":[],"sales":28};
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('')}
`;
}()}
Color:
yellow
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Ship To:
US
${function(){
const optName = "Ship To";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$1,799.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":"df99db04-5f42-48df-981e-88ffb935fc59","product_id":"8372be43-cc50-4c37-8e6c-6aad93ac4fda","title":"yellow-US","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"yellow","option2":"US","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd3b8c0c9806bc48e5ed0283aa18e0ca.webp","path":"dd3b8c0c9806bc48e5ed0283aa18e0ca.webp","width":720,"height":720,"alt":"LANKELEISI RV700 16Ah 48V 1000W Electric Bicycle 26inch 42km\/h Max speed Max Load 150kg","aspect_ratio":1},"wholesale_price":[{"price":1799,"min_quantity":1}],"weight":"0","compare_at_price":"2611","price":"1799","retail_price":"2611","available":true,"url":"\/products\/rv700?variant=df99db04-5f42-48df-981e-88ffb935fc59","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Ship To","value":"US"}],"off_ratio":31,"flashsale_info":[],"sales":28};
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 ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product does not exist
${function(){
const variantData = data.variant || {"id":"df99db04-5f42-48df-981e-88ffb935fc59","product_id":"8372be43-cc50-4c37-8e6c-6aad93ac4fda","title":"yellow-US","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"yellow","option2":"US","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dd3b8c0c9806bc48e5ed0283aa18e0ca.webp","path":"dd3b8c0c9806bc48e5ed0283aa18e0ca.webp","width":720,"height":720,"alt":"LANKELEISI RV700 16Ah 48V 1000W Electric Bicycle 26inch 42km\/h Max speed Max Load 150kg","aspect_ratio":1},"wholesale_price":[{"price":1799,"min_quantity":1}],"weight":"0","compare_at_price":"2611","price":"1799","retail_price":"2611","available":true,"url":"\/products\/rv700?variant=df99db04-5f42-48df-981e-88ffb935fc59","available_quantity":999999999,"options":[{"name":"Color","value":"yellow"},{"name":"Ship To","value":"US"}],"off_ratio":31,"flashsale_info":[],"sales":28};
return `
SKU : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${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}
`;
}()}