Kukirin G2 Pro Rear Fender with Tail Light
${function() {
const variantData = data.variant || {"id":"e661f34c-5413-401f-a922-8e680ae45eda","product_id":"486a1bda-1aaf-4599-a77d-c32f8031b3c4","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"G2Pro\u540e\u6321\u6ce5\u677f\u7ec4\u4ef6","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":33,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33","retail_price":"0","available":true,"url":"\/products\/kukirin-g2-pro-rear-fender-with-tail-light?variant=e661f34c-5413-401f-a922-8e680ae45eda","available_quantity":999999999,"options":[],"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 `
`;
}()}
Le produit était en rupture de stock.
Le produit n'est pas disponible.
${function(){
const variantData = data.variant || {"id":"e661f34c-5413-401f-a922-8e680ae45eda","product_id":"486a1bda-1aaf-4599-a77d-c32f8031b3c4","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"G2Pro\u540e\u6321\u6ce5\u677f\u7ec4\u4ef6","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":33,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33","retail_price":"0","available":true,"url":"\/products\/kukirin-g2-pro-rear-fender-with-tail-light?variant=e661f34c-5413-401f-a922-8e680ae45eda","available_quantity":999999999,"options":[],"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}
`
}()}