M4 & M4 Pro RED Steering Lights
${function() {
const variantData = data.variant || {"id":"bbb9e4e4-8020-4f43-aa35-42c267ac2b95","product_id":"455c8d8a-ccce-43a1-87d0-5c89a6e10658","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"M4&M4 Pro\u8f6c\u5411\u706f","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35","retail_price":"0","available":true,"url":"\/products\/m4-m4-pro-red-steering-lights?variant=bbb9e4e4-8020-4f43-aa35-42c267ac2b95","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 `
`;
}()}