Kukirin M5 Pro Electric Door Lock
${function() {
const variantData = data.variant || {"id":"321fcf2d-cf79-49c6-98fc-7c687ec98844","product_id":"f5c59cad-f3da-423b-89b2-c77c88363aee","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"M5 Pro\u7535\u95e8\u9501","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40","retail_price":"0","available":true,"url":"\/products\/kukirin-m5-pro-electric-door-lock?variant=321fcf2d-cf79-49c6-98fc-7c687ec98844","available_quantity":999999999,"options":[],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Il prodotto era esaurito.
Il prodotto non è disponibile.
${function() {
const postageFreeAmount = 50;
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 = "Il tuo ordine \u00e8 in consegna gratuita";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}