Kukirin G2 Max Linea integrata
${function() {
const variantData = data.variant || {"id":"2d2c648a-cacd-4e10-9789-a411624eaa4e","product_id":"24740fac-1c62-4839-b47a-080bd2f53bb6","title":"Linea integrata A","weight_unit":"kg","inventory_quantity":0,"sku":"G2 MAX\u96c6\u6210\u7ebfA","barcode":"","position":1,"option1":"Linea integrata A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f2a842388f6a0263ed036e3d080f0b1.png","path":"8f2a842388f6a0263ed036e3d080f0b1.png","width":1280,"height":1706,"alt":"Kukirin G2 Max Linea integrata","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40","retail_price":"0","available":true,"url":"\/products\/kukirin-g2-max-charging-port-tiyr?variant=2d2c648a-cacd-4e10-9789-a411624eaa4e","available_quantity":999999999,"options":[{"name":"Kukirin G2 Max Linea integrata","value":"Linea integrata A"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Kukirin G2 Max Linea Integrata:
Linea integrata A
${function(){
const optName = "Kukirin G2 Max Linea integrata";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Si prega di selezionare un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Aggiungi al carrello
€40.00
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"2d2c648a-cacd-4e10-9789-a411624eaa4e","product_id":"24740fac-1c62-4839-b47a-080bd2f53bb6","title":"Linea integrata A","weight_unit":"kg","inventory_quantity":0,"sku":"G2 MAX\u96c6\u6210\u7ebfA","barcode":"","position":1,"option1":"Linea integrata A","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8f2a842388f6a0263ed036e3d080f0b1.png","path":"8f2a842388f6a0263ed036e3d080f0b1.png","width":1280,"height":1706,"alt":"Kukirin G2 Max Linea integrata","aspect_ratio":0.7502930832356389},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40","retail_price":"0","available":true,"url":"\/products\/kukirin-g2-max-charging-port-tiyr?variant=2d2c648a-cacd-4e10-9789-a411624eaa4e","available_quantity":999999999,"options":[{"name":"Kukirin G2 Max Linea integrata","value":"Linea integrata A"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Acquista ora
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 `
`;
}()}