Kugookirin G2 Pro/kukirin G2 Pro Controller
${function() {
const variantData = data.variant || {"id":"c8b48744-79cd-47b2-a925-d16dcbd99169","product_id":"92d215b5-1a10-4ebc-8a3a-4b5089b2392a","title":"Kugookirin G2 Pro Controller","weight_unit":"kg","inventory_quantity":0,"sku":"Kugookirin G2 Pro\u63a7\u5236\u5668","barcode":"","position":1,"option1":"Kugookirin G2 Pro Controller","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eaba27cab5de0ca72dd6684091aeebe9.JPG","path":"eaba27cab5de0ca72dd6684091aeebe9.JPG","width":1000,"height":1000,"alt":"Kugookirin G2 Pro\/kukirin G2 Pro Controller","aspect_ratio":1},"wholesale_price":[{"price":72,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"72","retail_price":"0","available":true,"url":"\/products\/kugookirin-g2-pro-kukirin-g2-pro-controller?variant=c8b48744-79cd-47b2-a925-d16dcbd99169","available_quantity":999999999,"options":[{"name":"Model","value":"Kugookirin G2 Pro Controller"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Si prega di selezionare un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
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 `
`;
}()}