Kukirin G4 Charging Port
${function() {
const variantData = data.variant || {"id":"6a4871c5-2751-49e4-bbe0-18aef172fcb6","product_id":"845e5855-3af5-4dc9-92a1-34bde30b2d7c","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"Kukirin G4\u5145\u7535\u63a5\u53e3","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":32,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32","retail_price":"0","available":true,"url":"\/products\/kukirin-g4-charging-port?variant=6a4871c5-2751-49e4-bbe0-18aef172fcb6","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 `
`;
}()}