Kukirin M4&M4 Pro T Bar
${function() {
const variantData = data.variant || {"id":"a747bfd2-7404-4cb5-aec5-ca1a07f14cfc","product_id":"b942ee40-a9af-4e37-9ed2-6a4be7242bf7","title":"M4","weight_unit":"kg","inventory_quantity":0,"sku":"Kukirin M4\u4e01\u5b57\u6746","barcode":"","position":1,"option1":"M4","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e97db6945ecbe076f97bb064171bc29.webp","path":"6e97db6945ecbe076f97bb064171bc29.webp","width":1000,"height":1000,"alt":"Kukirin M4&M4 Pro T Bar","aspect_ratio":1},"wholesale_price":[{"price":55.9,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"55.9","retail_price":"0","available":true,"url":"\/products\/kukirin-m4-m4-pro-t-bar?variant=a747bfd2-7404-4cb5-aec5-ca1a07f14cfc","available_quantity":999999999,"options":[{"name":"Model","value":"M4"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"a747bfd2-7404-4cb5-aec5-ca1a07f14cfc","product_id":"b942ee40-a9af-4e37-9ed2-6a4be7242bf7","title":"M4","weight_unit":"kg","inventory_quantity":0,"sku":"Kukirin M4\u4e01\u5b57\u6746","barcode":"","position":1,"option1":"M4","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e97db6945ecbe076f97bb064171bc29.webp","path":"6e97db6945ecbe076f97bb064171bc29.webp","width":1000,"height":1000,"alt":"Kukirin M4&M4 Pro T Bar","aspect_ratio":1},"wholesale_price":[{"price":55.9,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"55.9","retail_price":"0","available":true,"url":"\/products\/kukirin-m4-m4-pro-t-bar?variant=a747bfd2-7404-4cb5-aec5-ca1a07f14cfc","available_quantity":999999999,"options":[{"name":"Model","value":"M4"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Poids : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
code à barre : ${variantData && variantData.barcode}
`
}()}