Kukirin G1 Pro Front/Rear Fender
${function() {
const variantData = data.variant || {"id":"0bff6514-a884-4b38-8bc1-9659226d76c7","product_id":"ca261b61-b88c-4d2d-872c-ab18135b41c8","title":"Rear Fender","weight_unit":"kg","inventory_quantity":0,"sku":"G1 Pro\u540e\u6321\u6ce5\u677f","barcode":"","position":1,"option1":"Rear Fender","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ab557df86c89758809b198d073ea113.jpg","path":"9ab557df86c89758809b198d073ea113.jpg","width":1706,"height":1280,"alt":"Kukirin G1 Pro Front\/Rear Fender","aspect_ratio":1.3328125},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35","retail_price":"0","available":true,"url":"\/products\/kukirin-g1-pro-front-rear-fender?variant=0bff6514-a884-4b38-8bc1-9659226d76c7","available_quantity":999999999,"options":[{"name":"Choice","value":"Rear Fender"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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":"0bff6514-a884-4b38-8bc1-9659226d76c7","product_id":"ca261b61-b88c-4d2d-872c-ab18135b41c8","title":"Rear Fender","weight_unit":"kg","inventory_quantity":0,"sku":"G1 Pro\u540e\u6321\u6ce5\u677f","barcode":"","position":1,"option1":"Rear Fender","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ab557df86c89758809b198d073ea113.jpg","path":"9ab557df86c89758809b198d073ea113.jpg","width":1706,"height":1280,"alt":"Kukirin G1 Pro Front\/Rear Fender","aspect_ratio":1.3328125},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35","retail_price":"0","available":true,"url":"\/products\/kukirin-g1-pro-front-rear-fender?variant=0bff6514-a884-4b38-8bc1-9659226d76c7","available_quantity":999999999,"options":[{"name":"Choice","value":"Rear Fender"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Poids : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
code à barre : ${variantData && variantData.barcode}
`
}()}