Kukirin G4 Brake Caliper
${function() {
const variantData = data.variant || {"id":"00883ebf-2904-420c-8f4d-97a013796124","product_id":"def36be7-e4e7-40e2-9cdf-832d803bb4d5","title":"Brake Caliper for Front Wheel","weight_unit":"kg","inventory_quantity":0,"sku":"Kukirin G4\u789f\u5239\u5668\uff08\u524d\uff09","barcode":"","position":1,"option1":"Brake Caliper for Front Wheel","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f9290b803c0bbf919b901c02f36827d8.JPG","path":"f9290b803c0bbf919b901c02f36827d8.JPG","width":800,"height":800,"alt":"Kukirin G4 Brake Caliper","aspect_ratio":1},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"40","retail_price":"0","available":true,"url":"\/products\/kukirin-g4-brake-caliper?variant=00883ebf-2904-420c-8f4d-97a013796124","available_quantity":999999999,"options":[{"name":"Model","value":"Brake Caliper for Front Wheel"}],"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 `
`;
}()}