BMW X5 - new or used buy (2024)

<% } else { %> <% var showPrice = dotAccess(price, 'show_price') || 0 %><% var priceFinancingNone = dotAccess(price, 'financingDetails.priceFinancingNone') || 0 %><% var priceFinancingCredit = dotAccess(price, 'financingDetails.priceFinancingCredit') || 0 %><% var priceFinancingLeasing = dotAccess(price, 'financingDetails.priceFinancingLeasing') || 0 %><% var showNewCallButton = 0 %><% var priceManufacturer = dotAccess(price, 'manufacturer') || false %><% var finFallback = !showPrice %><% var priceNullShown = false %><% var showProducerPrice = dotAccess(price, 'show_producer_price') || false %>

<% var priceCurrent = dotAccess(price, 'current') || 0 %><% var showPrice = dotAccess(price, 'show_price') || 0 %><% var priceFinancingNone = dotAccess(price, 'finParams.priceFinancingNone') || 0 %><% var priceFinancingCredit = dotAccess(price, 'finParams.priceFinancingCredit') || 0 %><% var priceFinancingLeasing = dotAccess(price, 'finParams.priceFinancingLeasing') || 0 %><% var finFallback = finFallback || !showPrice %><% if (!priceFinancingNone) { %><% if (priceFinancingCredit) { %>

<% var priceCurrent = dotAccess(price, 'current') || 0 %><% var showPrice = dotAccess(price, 'show_price') || 0 %><% var finFallback = finFallback || !showPrice %><% var fin = fin || dotAccess(financing || {}, 'finprice') %><% var finPopover = finPopover || dotAccess(financing || {}, 'popover') %><% if (fin && fin.length) { %>

<% if (financing && dotAccess(financing, 'popover') && financing.popover.length) { %><% var finLength = (financing && dotAccess(financing, 'popover')) ? financing.popover.length : 0; %><% if (finLength > 0) { %><% var finPopoverTitle = financing.insurancePaymentFixed ? 'financing_with_insurancePayment' : 'financing' %>

<% var columnClass = 12 / finLength; %><% for (k in financing.popover) { %><% var popoverColumn = financing.popover[k] %>

<% if (dotAccess(popoverColumn, 'fields')) { %><% for (j in popoverColumn.fields) { %><% var popoverField = popoverColumn.fields[j]; %><% var fieldlabel = dotAccess(popoverField, 'translated') ? popoverField.name : 'vehicleinventory.' + popoverField.name %><% var validValue = ((popoverField.name == 'monthsCount') || (popoverField.name == 'monthlyRate')) ? (popoverField.value > 0) : true %><% var _transDomain = dotAccess(popoverField, 'trans_domain') || 'frontend' %><% if (validValue) { %><%= Translator.trans(popoverField.label) %>:<% if (dotAccess(popoverField, 'prefix')) { %><%= Translator.trans(popoverField.prefix) %> <% } %><%= (popoverField.name != "monthsCount") ? popoverField.formatted : popoverField.value %><% } %><% } %><% } %>

<% } %>

Ask about financing, leasing and insurance products.We advise you gladly.

<% } %><% } %><% if (financing && dotAccess(financing, 'finprice') && financing.finprice.length) { %><% for (i in financing.finprice) { %><% var column = financing.finprice[i] || []; %><% if (dotAccess(column, 'fields')) { %><% for (j in column.fields) { %><% var field = column.fields[j]; %><% var fieldlabel = dotAccess(field, 'translated') ? field.name : 'vehicledetails.' + field.name %><% var validValue = ((field.name == 'monthsCount') || (field.name == 'monthlyRate')) ? (field.value > 0) : true %><% var _transDomain = dotAccess(field, 'trans_domain') || 'frontend' %><% if (validValue) { %>

<% if (dotAccess(field, 'prefix')) { %><%= Translator.trans(field.prefix).replace('__blank__', '') %><% } %><%= field.formatted %><%= Translator.trans(fieldlabel).replace('__blank__', '') %>

<% } %><% } %><% } %><% } %><% } %>Change rate

<% } else if (finFallback) { %><% if (showPrice && priceCurrent) { %><% var priceCurrent = dotAccess(price, 'current') || false %><% var firstPrice = dotAccess(price, 'old_price') || false %><% var dealerPrice = dotAccess(price, 'dealer') || false %><% var priceManufacturer = dotAccess(price, 'manufacturer') || false %><% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var showProducerPrice = dotAccess(price, 'show_producer_price') || false %><% var displayProducerPrice = showProducerPrice && priceManufacturer > 0 %><% if (~~dotAccess(price, 'diff_price') < 0) { %><% var priceCurrent = dotAccess(price, 'current') %><% var old_price = dotAccess(price, 'old_price') %><% if ((old_price > priceCurrent) && old_price) { %>

<% var priceSimple = dotAccess(price, 'old_price_formatted') %><% var escapedPriceSimple = dotAccess(price, 'old_price_formatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% } %><% var priceCurrent = dotAccess(price, 'current') %><% var old_price = dotAccess(price, 'old_price') || 0 %><% var diff_price = dotAccess(price, 'diff_price') %><% if ((old_price > priceCurrent) && old_price) { %><% if (diff_price < 0) { %>

<% var priceSimple = dotAccess(price, 'diff_price_formatted') %><% var escapedPriceSimple = dotAccess(price, 'diff_price_formatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% } %><% } %><% } %><% if (networkEnabled) { %>

<% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var priceDealer = dotAccess(price, 'dealer') || 0 %><% var currency = dotAccess(price, 'currency') || '' %><% var schemaStatus = schemaStatus || '' %><% if (networkEnabled) { %><% if (priceDealer > 0) { %>

<% var priceSimple = dotAccess(price, 'dealerFormatted') %><% var escapedPriceSimple = dotAccess(price, 'dealerFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>(Partner price)

<% } %><% } %><% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var priceDealerNotax = dotAccess(price, 'dealer_notax') || 0 %><% var isMwst = dotAccess(price, 'is_dealer_mwst') || false %><% var vat = dotAccess(price, 'vat') || false %><% if (networkEnabled) { %><% if (isMwst && priceDealerNotax > 0) { %>

()

<% } %><% } %>

<% var priceCurrent = dotAccess(price, 'current') || 0 %><% var currency = dotAccess(price, 'currency') || '' %><% var schemaStatus = schemaStatus || '' %><% if (priceCurrent != 0) { %><% var mwst = dotAccess(price, 'isMwst') || false %><% var priceclass = (mwst) ? '' : 'nomwst' %>

<% var priceSimple = dotAccess(price, 'currentFormatted') %><% var escapedPriceSimple = dotAccess(price, 'currentFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %><% if (mwst) { %><% } else { %>(Tax Free price)<% } %>

<% } else if (false) { %>

Call

<% var priceNullShown = true %><% } %><% var priceNotax = dotAccess(price, 'notax') || 0 %><% var isMwst = dotAccess(price, 'isMwst') || false %><% var vat = dotAccess(price, 'vat') || false %><% if (isMwst && priceNotax) { %>

(Reclaimable VAT)

<% } %>

<% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var dealerCurrentShown = dotAccess(price, 'dealer') > 0 %><% var dealerNotaxShown = dotAccess(price, 'is_dealer_mwst') && dotAccess(price, 'dealer_notax', 0) > 0 %><% var currentShown = dotAccess(price, 'current') != 0 %><% var notaxShown = !!dotAccess(price, 'isMwst') && !!dotAccess(price, 'notax', 0) %><% if (networkEnabled) { %><% if ([dealerCurrentShown, dealerNotaxShown, currentShown, notaxShown].includes(true)) { %><% } else { %>

Call

<% } %><% } %><% } else { %><% var priceCurrent = dotAccess(price, 'current') || 0 %><% var currency = dotAccess(price, 'currency') || '' %><% var schemaStatus = schemaStatus || '' %><% if (priceCurrent != 0) { %><% var mwst = dotAccess(price, 'isMwst') || false %><% var priceclass = (mwst) ? '' : 'nomwst' %>

<% var priceSimple = dotAccess(price, 'currentFormatted') %><% var escapedPriceSimple = dotAccess(price, 'currentFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %><% if (mwst) { %><% } else { %>(Tax Free price)<% } %>

<% } else if (true) { %>

Call

<% var priceNullShown = true %><% } %><% var priceNotax = dotAccess(price, 'notax') || 0 %><% var isMwst = dotAccess(price, 'isMwst') || false %><% var vat = dotAccess(price, 'vat') || false %><% if (isMwst && priceNotax) { %>

(Reclaimable VAT)

<% } %><% } %><% if (showProducerPrice && (priceManufacturer > 0)) { %><% var priceCurrent = dotAccess(price, 'current') || 0 %><% var priceManufacturer = dotAccess(price, 'manufacturer') || 0 %><% var discountValue = dotAccess(price, 'discountValue') || 0 %><% var discountPercent = dotAccess(price, 'discountPercent') || 0 %><% var showProducerPrice = dotAccess(price, 'show_producer_price') || false %><% if (showProducerPrice && (discountValue >= 0)) { %><% var discountPercentRight = (discountPercent) ? discountPercent+'%' : '' %><% var discountPercentLeft = (discountPercent) ? ' '+Math.abs(discountPercent)+'%' : '' %>

Old price:<% var priceSimple = dotAccess(price, 'manufacturerFormatted') %><% var escapedPriceSimple = dotAccess(price, 'manufacturerFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% if (discountPercent && discountPercent < 100) { %>

Your savings(<%= discountPercentLeft %>):<% var priceSimple = dotAccess(price, 'discountValueFormatted') %><% var escapedPriceSimple = dotAccess(price, 'discountValueFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% } %>

<% } %><% } %><% } else { %>

Call

<% var priceNullShown = true %><% } %><% } %>

<% } %><% if (priceFinancingLeasing) { %>

<% var priceCurrent = dotAccess(price, 'current') || 0 %><% var showPrice = dotAccess(price, 'show_price') || 0 %><% var finFallback = finFallback || !showPrice %><% var fin = fin || dotAccess(financing || {}, 'finprice') %><% var finPopover = finPopover || dotAccess(financing || {}, 'popover') %><% if (fin && fin.length) { %>

<% if (financing && dotAccess(financing, 'popover') && financing.popover.length) { %><% var finLength = (financing && dotAccess(financing, 'popover')) ? financing.popover.length : 0; %><% if (finLength > 0) { %><% var finPopoverTitle = financing.insurancePaymentFixed ? 'financing_with_insurancePayment' : 'financing' %>

<% var columnClass = 12 / finLength; %><% for (k in financing.popover) { %><% var popoverColumn = financing.popover[k] %>

<% if (dotAccess(popoverColumn, 'fields')) { %><% for (j in popoverColumn.fields) { %><% var popoverField = popoverColumn.fields[j]; %><% var fieldlabel = dotAccess(popoverField, 'translated') ? popoverField.name : 'vehicleinventory.' + popoverField.name %><% var validValue = ((popoverField.name == 'monthsCount') || (popoverField.name == 'monthlyRate')) ? (popoverField.value > 0) : true %><% var _transDomain = dotAccess(popoverField, 'trans_domain') || 'frontend' %><% if (validValue) { %><%= Translator.trans(popoverField.label) %>:<% if (dotAccess(popoverField, 'prefix')) { %><%= Translator.trans(popoverField.prefix) %> <% } %><%= (popoverField.name != "monthsCount") ? popoverField.formatted : popoverField.value %><% } %><% } %><% } %>

<% } %>

Ask about financing, leasing and insurance products.We advise you gladly.

<% } %><% } %><% if (financing && dotAccess(financing, 'finprice') && financing.finprice.length) { %><% for (i in financing.finprice) { %><% var column = financing.finprice[i] || []; %><% if (dotAccess(column, 'fields')) { %><% for (j in column.fields) { %><% var field = column.fields[j]; %><% var fieldlabel = dotAccess(field, 'translated') ? field.name : 'vehicledetails.' + field.name %><% var validValue = ((field.name == 'monthsCount') || (field.name == 'monthlyRate')) ? (field.value > 0) : true %><% var _transDomain = dotAccess(field, 'trans_domain') || 'frontend' %><% if (validValue) { %>

<% if (dotAccess(field, 'prefix')) { %><%= Translator.trans(field.prefix).replace('__blank__', '') %><% } %><%= field.formatted %><%= Translator.trans(fieldlabel).replace('__blank__', '') %>

<% } %><% } %><% } %><% } %><% } %>Change rate

<% } else if (finFallback) { %><% if (showPrice && priceCurrent) { %><% var priceCurrent = dotAccess(price, 'current') || false %><% var firstPrice = dotAccess(price, 'old_price') || false %><% var dealerPrice = dotAccess(price, 'dealer') || false %><% var priceManufacturer = dotAccess(price, 'manufacturer') || false %><% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var showProducerPrice = dotAccess(price, 'show_producer_price') || false %><% var displayProducerPrice = showProducerPrice && priceManufacturer > 0 %><% if (~~dotAccess(price, 'diff_price') < 0) { %><% var priceCurrent = dotAccess(price, 'current') %><% var old_price = dotAccess(price, 'old_price') %><% if ((old_price > priceCurrent) && old_price) { %>

<% var priceSimple = dotAccess(price, 'old_price_formatted') %><% var escapedPriceSimple = dotAccess(price, 'old_price_formatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% } %><% var priceCurrent = dotAccess(price, 'current') %><% var old_price = dotAccess(price, 'old_price') || 0 %><% var diff_price = dotAccess(price, 'diff_price') %><% if ((old_price > priceCurrent) && old_price) { %><% if (diff_price < 0) { %>

<% var priceSimple = dotAccess(price, 'diff_price_formatted') %><% var escapedPriceSimple = dotAccess(price, 'diff_price_formatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% } %><% } %><% } %><% if (networkEnabled) { %>

<% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var priceDealer = dotAccess(price, 'dealer') || 0 %><% var currency = dotAccess(price, 'currency') || '' %><% var schemaStatus = schemaStatus || '' %><% if (networkEnabled) { %><% if (priceDealer > 0) { %>

<% var priceSimple = dotAccess(price, 'dealerFormatted') %><% var escapedPriceSimple = dotAccess(price, 'dealerFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>(Partner price)

<% } %><% } %><% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var priceDealerNotax = dotAccess(price, 'dealer_notax') || 0 %><% var isMwst = dotAccess(price, 'is_dealer_mwst') || false %><% var vat = dotAccess(price, 'vat') || false %><% if (networkEnabled) { %><% if (isMwst && priceDealerNotax > 0) { %>

()

<% } %><% } %>

<% var priceCurrent = dotAccess(price, 'current') || 0 %><% var currency = dotAccess(price, 'currency') || '' %><% var schemaStatus = schemaStatus || '' %><% if (priceCurrent != 0) { %><% var mwst = dotAccess(price, 'isMwst') || false %><% var priceclass = (mwst) ? '' : 'nomwst' %>

<% var priceSimple = dotAccess(price, 'currentFormatted') %><% var escapedPriceSimple = dotAccess(price, 'currentFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %><% if (mwst) { %><% } else { %>(Tax Free price)<% } %>

<% } else if (false) { %>

Call

<% var priceNullShown = true %><% } %><% var priceNotax = dotAccess(price, 'notax') || 0 %><% var isMwst = dotAccess(price, 'isMwst') || false %><% var vat = dotAccess(price, 'vat') || false %><% if (isMwst && priceNotax) { %>

(Reclaimable VAT)

<% } %>

<% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var dealerCurrentShown = dotAccess(price, 'dealer') > 0 %><% var dealerNotaxShown = dotAccess(price, 'is_dealer_mwst') && dotAccess(price, 'dealer_notax', 0) > 0 %><% var currentShown = dotAccess(price, 'current') != 0 %><% var notaxShown = !!dotAccess(price, 'isMwst') && !!dotAccess(price, 'notax', 0) %><% if (networkEnabled) { %><% if ([dealerCurrentShown, dealerNotaxShown, currentShown, notaxShown].includes(true)) { %><% } else { %>

Call

<% } %><% } %><% } else { %><% var priceCurrent = dotAccess(price, 'current') || 0 %><% var currency = dotAccess(price, 'currency') || '' %><% var schemaStatus = schemaStatus || '' %><% if (priceCurrent != 0) { %><% var mwst = dotAccess(price, 'isMwst') || false %><% var priceclass = (mwst) ? '' : 'nomwst' %>

<% var priceSimple = dotAccess(price, 'currentFormatted') %><% var escapedPriceSimple = dotAccess(price, 'currentFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %><% if (mwst) { %><% } else { %>(Tax Free price)<% } %>

<% } else if (true) { %>

Call

<% var priceNullShown = true %><% } %><% var priceNotax = dotAccess(price, 'notax') || 0 %><% var isMwst = dotAccess(price, 'isMwst') || false %><% var vat = dotAccess(price, 'vat') || false %><% if (isMwst && priceNotax) { %>

(Reclaimable VAT)

<% } %><% } %><% if (showProducerPrice && (priceManufacturer > 0)) { %><% var priceCurrent = dotAccess(price, 'current') || 0 %><% var priceManufacturer = dotAccess(price, 'manufacturer') || 0 %><% var discountValue = dotAccess(price, 'discountValue') || 0 %><% var discountPercent = dotAccess(price, 'discountPercent') || 0 %><% var showProducerPrice = dotAccess(price, 'show_producer_price') || false %><% if (showProducerPrice && (discountValue >= 0)) { %><% var discountPercentRight = (discountPercent) ? discountPercent+'%' : '' %><% var discountPercentLeft = (discountPercent) ? ' '+Math.abs(discountPercent)+'%' : '' %>

Old price:<% var priceSimple = dotAccess(price, 'manufacturerFormatted') %><% var escapedPriceSimple = dotAccess(price, 'manufacturerFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% if (discountPercent && discountPercent < 100) { %>

Your savings(<%= discountPercentLeft %>):<% var priceSimple = dotAccess(price, 'discountValueFormatted') %><% var escapedPriceSimple = dotAccess(price, 'discountValueFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% } %>

<% } %><% } %><% } else { %>

Call

<% var priceNullShown = true %><% } %><% } %>

<% } %><% } %><% if (showPrice) { %><% var showPrice = dotAccess(price, 'show_price') || 0 %><% var priceCurrent = dotAccess(price, 'current') || false %><% var firstPrice = dotAccess(price, 'old_price') || false %><% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% if (showPrice) { %><% if ((~~dotAccess(price, 'diff_price') < 0) && (dotAccess(price, 'current') > 0)) { %><% var priceCurrent = dotAccess(price, 'current') %><% var old_price = dotAccess(price, 'old_price') %><% if ((old_price > priceCurrent) && old_price) { %>

<% var priceSimple = dotAccess(price, 'old_price_formatted') %><% var escapedPriceSimple = dotAccess(price, 'old_price_formatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% } %><% var priceCurrent = dotAccess(price, 'current') %><% var old_price = dotAccess(price, 'old_price') || 0 %><% var diff_price = dotAccess(price, 'diff_price') %><% if ((old_price > priceCurrent) && old_price) { %><% if (diff_price < 0) { %>

<% var priceSimple = dotAccess(price, 'diff_price_formatted') %><% var escapedPriceSimple = dotAccess(price, 'diff_price_formatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% } %><% } %><% } %><% if (networkEnabled) { %>

<% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var priceDealer = dotAccess(price, 'dealer') || 0 %><% var currency = dotAccess(price, 'currency') || '' %><% var schemaStatus = schemaStatus || '' %><% if (networkEnabled) { %><% if (priceDealer > 0) { %>

<% var priceSimple = dotAccess(price, 'dealerFormatted') %><% var escapedPriceSimple = dotAccess(price, 'dealerFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>(Partner price)

<% } %><% } %><% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var priceDealerNotax = dotAccess(price, 'dealer_notax') || 0 %><% var isMwst = dotAccess(price, 'is_dealer_mwst') || false %><% var vat = dotAccess(price, 'vat') || false %><% if (networkEnabled) { %><% if (isMwst && priceDealerNotax > 0) { %>

()

<% } %><% } %>

<% var priceCurrent = dotAccess(price, 'current') || 0 %><% var currency = dotAccess(price, 'currency') || '' %><% var schemaStatus = schemaStatus || '' %><% if (priceCurrent != 0) { %><% var mwst = dotAccess(price, 'isMwst') || false %><% var priceclass = (mwst) ? '' : 'nomwst' %>

<% var priceSimple = dotAccess(price, 'currentFormatted') %><% var escapedPriceSimple = dotAccess(price, 'currentFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %><% if (mwst) { %><% } else { %>(Tax Free price)<% } %>

<% } else if (false) { %>

Call

<% var priceNullShown = true %><% } %><% var priceNotax = dotAccess(price, 'notax') || 0 %><% var isMwst = dotAccess(price, 'isMwst') || false %><% var vat = dotAccess(price, 'vat') || false %><% if (isMwst && priceNotax) { %>

(Reclaimable VAT)

<% } %>

<% var networkEnabled = dotAccess(price, 'showNetworkPrice') || false %><% var dealerCurrentShown = dotAccess(price, 'dealer') > 0 %><% var dealerNotaxShown = dotAccess(price, 'is_dealer_mwst') && dotAccess(price, 'dealer_notax', 0) > 0 %><% var currentShown = dotAccess(price, 'current') != 0 %><% var notaxShown = !!dotAccess(price, 'isMwst') && !!dotAccess(price, 'notax', 0) %><% if (networkEnabled) { %><% if ([dealerCurrentShown, dealerNotaxShown, currentShown, notaxShown].includes(true)) { %><% } else { %>

Call

<% } %><% } %><% } else { %><% var priceCurrent = dotAccess(price, 'current') || 0 %><% var currency = dotAccess(price, 'currency') || '' %><% var schemaStatus = schemaStatus || '' %><% if (priceCurrent != 0) { %><% var mwst = dotAccess(price, 'isMwst') || false %><% var priceclass = (mwst) ? '' : 'nomwst' %>

<% var priceSimple = dotAccess(price, 'currentFormatted') %><% var escapedPriceSimple = dotAccess(price, 'currentFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %><% if (mwst) { %><% } else { %>(Tax Free price)<% } %>

<% } else if (true) { %>

Call

<% var priceNullShown = true %><% } %><% var priceNotax = dotAccess(price, 'notax') || 0 %><% var isMwst = dotAccess(price, 'isMwst') || false %><% var vat = dotAccess(price, 'vat') || false %><% if (isMwst && priceNotax) { %>

(Reclaimable VAT)

<% } %><% } %><% } %><% if (showProducerPrice && (priceManufacturer > 0)) { %><% var priceCurrent = dotAccess(price, 'current') || 0 %><% var priceManufacturer = dotAccess(price, 'manufacturer') || 0 %><% var discountValue = dotAccess(price, 'discountValue') || 0 %><% var discountPercent = dotAccess(price, 'discountPercent') || 0 %><% var showProducerPrice = dotAccess(price, 'show_producer_price') || false %><% if (showProducerPrice && (discountValue >= 0)) { %><% var discountPercentRight = (discountPercent) ? discountPercent+'%' : '' %><% var discountPercentLeft = (discountPercent) ? ' '+Math.abs(discountPercent)+'%' : '' %>

Old price:<% var priceSimple = dotAccess(price, 'manufacturerFormatted') %><% var escapedPriceSimple = dotAccess(price, 'manufacturerFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% if (discountPercent && discountPercent < 100) { %>

Your savings(<%= discountPercentLeft %>):<% var priceSimple = dotAccess(price, 'discountValueFormatted') %><% var escapedPriceSimple = dotAccess(price, 'discountValueFormatted') %><% var currency = dotAccess(price, 'currency', '$') %><% var escapedPriceSimpleArray = escapedPriceSimple.split('') %><% var isNegative = escapedPriceSimpleArray.length ? escapedPriceSimpleArray[0] === '-' : false %><% var escapedPriceSimpleProcessed = isNegative ? escapedPriceSimple.slice(1) : escapedPriceSimple %><%= isNegative ? '-' : '' %><%= currency %><%= escapedPriceSimpleProcessed %>

<% } %>

<% } %><% } %><% } else if (priceFinancingNone) { %><% if (!priceNullShown) { %>

Call

<% } %><% } else { %><% if (!priceNullShown) { %><% if (showNewCallButton) { %> Call <% } else { %>

Call

<% } %><% } %><% } %>

BMW X5 - new or used buy (2024)
Top Articles
Latest Posts
Article information

Author: Lilliana Bartoletti

Last Updated:

Views: 6168

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Lilliana Bartoletti

Birthday: 1999-11-18

Address: 58866 Tricia Spurs, North Melvinberg, HI 91346-3774

Phone: +50616620367928

Job: Real-Estate Liaison

Hobby: Graffiti, Astronomy, Handball, Magic, Origami, Fashion, Foreign language learning

Introduction: My name is Lilliana Bartoletti, I am a adventurous, pleasant, shiny, beautiful, handsome, zealous, tasty person who loves writing and wants to share my knowledge and understanding with you.