Garde-boue pour scooter électrique KUGOO
⏱1 an de garantie, livraison gratuite</br>🔥4-7 jours de livraison à votre porte
${function() {
const variantData = data.variant || {"id":"d72dbd55-cfe4-4546-a1b5-6dabbe495752","product_id":"7e07f5e8-f9da-46e6-af88-df06b191fc9c","title":"M4&M4pro-Fender avant","weight_unit":"kg","inventory_quantity":0,"sku":"M4&M4pro\u524d\u6321\u6ce5\u677f","barcode":"","position":1,"option1":"M4&M4pro","option2":"Fender avant","option3":"","note":"","image":null,"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26","retail_price":"0","available":true,"url":"\/products\/kugoo-electric-scooter-fender?variant=d72dbd55-cfe4-4546-a1b5-6dabbe495752","available_quantity":999999999,"options":[{"name":"Style","value":"M4&M4pro"},{"name":"Fender","value":"Fender avant"}],"off_ratio":0,"flashsale_info":[],"sales":23};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
${function() {
const postageFreeAmount = 30;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Votre commande est la livraison gratuite";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
Style:
M4&M4pro
${function(){
const optName = "Style";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Veuillez s\u00e9lectionner un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Fender:
Fender avant
${function(){
const optName = "Fender";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Veuillez s\u00e9lectionner un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Ajouter au panier
€26.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":"d72dbd55-cfe4-4546-a1b5-6dabbe495752","product_id":"7e07f5e8-f9da-46e6-af88-df06b191fc9c","title":"M4&M4pro-Fender avant","weight_unit":"kg","inventory_quantity":0,"sku":"M4&M4pro\u524d\u6321\u6ce5\u677f","barcode":"","position":1,"option1":"M4&M4pro","option2":"Fender avant","option3":"","note":"","image":null,"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26","retail_price":"0","available":true,"url":"\/products\/kugoo-electric-scooter-fender?variant=d72dbd55-cfe4-4546-a1b5-6dabbe495752","available_quantity":999999999,"options":[{"name":"Style","value":"M4&M4pro"},{"name":"Fender","value":"Fender avant"}],"off_ratio":0,"flashsale_info":[],"sales":23};
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 ? `
` : ' ';
}
}()}
Acheter maintenant
Le produit était en rupture de stock.
Le produit n'est pas disponible.
${function(){
const variantData = data.variant || {"id":"d72dbd55-cfe4-4546-a1b5-6dabbe495752","product_id":"7e07f5e8-f9da-46e6-af88-df06b191fc9c","title":"M4&M4pro-Fender avant","weight_unit":"kg","inventory_quantity":0,"sku":"M4&M4pro\u524d\u6321\u6ce5\u677f","barcode":"","position":1,"option1":"M4&M4pro","option2":"Fender avant","option3":"","note":"","image":null,"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26","retail_price":"0","available":true,"url":"\/products\/kugoo-electric-scooter-fender?variant=d72dbd55-cfe4-4546-a1b5-6dabbe495752","available_quantity":999999999,"options":[{"name":"Style","value":"M4&M4pro"},{"name":"Fender","value":"Fender avant"}],"off_ratio":0,"flashsale_info":[],"sales":23};
return `
Sku : ${variantData && variantData.sku}
Poids : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
code à barre : ${variantData && variantData.barcode}
`
}()}