Kukirin G2 Master Moteur
${function() {
const variantData = data.variant || {"id":"5f29a636-0a1b-4813-9aab-da5bce7d8826","product_id":"e1e21002-deec-4519-b60e-461149a4160e","title":"Moteur (avant)","weight_unit":"kg","inventory_quantity":0,"sku":"G2 Master\u7535\u673a\uff08\u524d\uff09","barcode":"","position":1,"option1":"Moteur (avant)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb5954b385cba939bbb37b593c409edd.jpeg","path":"fb5954b385cba939bbb37b593c409edd.jpeg","width":1440,"height":1080,"alt":"Kukirin G2 Master Moteur","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":171,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"171","retail_price":"0","available":true,"url":"\/products\/kukirin-g2-master-moteur?variant=5f29a636-0a1b-4813-9aab-da5bce7d8826","available_quantity":999999999,"options":[{"name":"G2 Master Moteur","value":"Moteur (avant)"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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 `
`;
}()}
${function(){
const tipText = "Veuillez s\u00e9lectionner un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Le produit était en rupture de stock.
Le produit n'est pas disponible.
${function(){
const variantData = data.variant || {"id":"5f29a636-0a1b-4813-9aab-da5bce7d8826","product_id":"e1e21002-deec-4519-b60e-461149a4160e","title":"Moteur (avant)","weight_unit":"kg","inventory_quantity":0,"sku":"G2 Master\u7535\u673a\uff08\u524d\uff09","barcode":"","position":1,"option1":"Moteur (avant)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb5954b385cba939bbb37b593c409edd.jpeg","path":"fb5954b385cba939bbb37b593c409edd.jpeg","width":1440,"height":1080,"alt":"Kukirin G2 Master Moteur","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":171,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"171","retail_price":"0","available":true,"url":"\/products\/kukirin-g2-master-moteur?variant=5f29a636-0a1b-4813-9aab-da5bce7d8826","available_quantity":999999999,"options":[{"name":"G2 Master Moteur","value":"Moteur (avant)"}],"off_ratio":0,"flashsale_info":[],"sales":4};
return `
Sku : ${variantData && variantData.sku}
Poids : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
code à barre : ${variantData && variantData.barcode}
`
}()}