Kukirin G3 Motor Wheel (Rear Wheel Include Tire)
${function() {
const variantData = data.variant || {"id":"8af809ef-b43e-4884-8514-985be473a32b","product_id":"69762f27-1ba4-4581-966f-5faee6b3afae","title":"800W","weight_unit":"kg","inventory_quantity":0,"sku":"Kukirin G3\u7535\u673a800W","barcode":"","position":1,"option1":"800W","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/150ba471b85845f95f35a1bccf1f4208.jpg","path":"150ba471b85845f95f35a1bccf1f4208.jpg","width":800,"height":800,"alt":"Kukirin G3 Motor Wheel (Rear Wheel Include Tire)","aspect_ratio":1},"wholesale_price":[{"price":280,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"280","retail_price":"0","available":true,"url":"\/products\/kukirin-g3-motor-wheel-rear-wheel-include-tire?variant=8af809ef-b43e-4884-8514-985be473a32b","available_quantity":999999999,"options":[{"name":"Motor","value":"800W"}],"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":"8af809ef-b43e-4884-8514-985be473a32b","product_id":"69762f27-1ba4-4581-966f-5faee6b3afae","title":"800W","weight_unit":"kg","inventory_quantity":0,"sku":"Kukirin G3\u7535\u673a800W","barcode":"","position":1,"option1":"800W","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/150ba471b85845f95f35a1bccf1f4208.jpg","path":"150ba471b85845f95f35a1bccf1f4208.jpg","width":800,"height":800,"alt":"Kukirin G3 Motor Wheel (Rear Wheel Include Tire)","aspect_ratio":1},"wholesale_price":[{"price":280,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"280","retail_price":"0","available":true,"url":"\/products\/kukirin-g3-motor-wheel-rear-wheel-include-tire?variant=8af809ef-b43e-4884-8514-985be473a32b","available_quantity":999999999,"options":[{"name":"Motor","value":"800W"}],"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}
`
}()}