YUME Raptor electric scooter road/off-road tire 60V27AH/Samsung 60V 30AH Battery
${function() {
const variantData = data.variant || {"id":"c9e608fb-f680-4ffa-8894-f7f9fe2ea083","product_id":"8a893467-c493-44ad-ad27-516bbf058060","title":"off-road tire-60V27AH","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"off-road tire","option2":"60V27AH","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c39f1230a7396800f9ffee52476b2bdd.jpg","path":"c39f1230a7396800f9ffee52476b2bdd.jpg","width":2000,"height":2000,"alt":"YUME Raptor electric scooter road\/off-road tire 60V27AH\/Samsung 60V 30AH Battery","aspect_ratio":1},"wholesale_price":[{"price":1469,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"1469","retail_price":"0","available":true,"url":"\/products\/yume-raptor-electric-scooter-road-off-road-tire-60v27ah-samsung-60v-30ah-battery?variant=c9e608fb-f680-4ffa-8894-f7f9fe2ea083","available_quantity":999999999,"options":[{"name":"tire","value":"off-road tire"},{"name":"battery","value":"60V27AH"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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('')}
`;
}()}
Tire:
off-road tire
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Battery:
60V27AH
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
£1,469.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":"c9e608fb-f680-4ffa-8894-f7f9fe2ea083","product_id":"8a893467-c493-44ad-ad27-516bbf058060","title":"off-road tire-60V27AH","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"off-road tire","option2":"60V27AH","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c39f1230a7396800f9ffee52476b2bdd.jpg","path":"c39f1230a7396800f9ffee52476b2bdd.jpg","width":2000,"height":2000,"alt":"YUME Raptor electric scooter road\/off-road tire 60V27AH\/Samsung 60V 30AH Battery","aspect_ratio":1},"wholesale_price":[{"price":1469,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"1469","retail_price":"0","available":true,"url":"\/products\/yume-raptor-electric-scooter-road-off-road-tire-60v27ah-samsung-60v-30ah-battery?variant=c9e608fb-f680-4ffa-8894-f7f9fe2ea083","available_quantity":999999999,"options":[{"name":"tire","value":"off-road tire"},{"name":"battery","value":"60V27AH"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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