<?php $post_id = get_the_id(); // echo print_r(get_vehicle_gallery_images()); $image_urls = get_post_meta($post_id, 'pictures', true); if (is_string($image_urls)) { $images = explode(',', $image_urls); } elseif (is_array($image_urls)) { $images = $image_urls; } else { $images = []; } if (!empty($images)): ?> <div class="vehicle-gallery"> <?php foreach ($images as $index => $img_url): ?> <a href="<?php echo esc_url(trim($img_url)); ?>" class="glightbox" data-gallery="vehicle-gallery"> <?php if ($index === 0): ?> <img src="<?php echo esc_url(trim($img_url)); ?>" alt="Vehicle Image" class="gallery-main-image" /> <?php else: ?> <img src="<?php echo esc_url(trim($img_url)); ?>" alt="Gallery Thumb" class="gallery-thumb" /> <?php endif; ?> </a> <?php endforeach; ?> </div> <?php endif; ?>
document.addEventListener('DOMContentLoaded', function () { new Swiper('.vehicle-gallery', { slidesPerView: 5, spaceBetween: 10, loop: true, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, breakpoints: { 768: { slidesPerView: 3, }, 480: { slidesPerView: 2, } } }); });
Pre-Owned
BMW MY20 sDRIVE20d M SPORT STEPTRONIC (2021)
R 559 000
Description
Motorplan 2026,08,30 *Misano Blue metallic *Leathertec Black *19" M Double spoke *Automatic tailgate *Rear view camera *Panorama glass *Int.trim finishers black high gloss *Park Distance Control front & rear *Automatic air conditioning *Extended Light Package *Park Assist *Hi Fi loudspeaker *Smartphone Integration *Comfort telephony with wireless charging *LED fog and Headlights
Mileage
47300 km
Year
Fuel Type
DIESEL
Exterior Colour
Misano Blue metallic
Transmission
AUTOMATIC
VIN
Vehicle ID
28010438
Features
Range
X1
Mileage
47 300 km
Year
2021
Colour
Misano Blue metallic
Transmission
AUTOMATIC
Fuel
DIESEL
Body Type
STATION WAGON
Doors
5
Service History
Full
Vin No.
WBA52AD0405T36332
Comments
Motorplan 2026,08,30 *Misano Blue metallic *Leathertec Black *19" M Double spoke *Automatic tailgate *Rear view camera *Panorama glass *Int.trim finishers black high gloss *Park Distance Control front & rear *Automatic air conditioning *Extended Light Package *Park Assist *Hi Fi loudspeaker *Smartphone Integration *Comfort telephony with wireless charging *LED fog and Headlights
<?php $post_id = get_the_id(); $custom_fields = get_post_meta($post_id); echo $custom_fields['mmcode'][0] . '<br />'; echo print_r($custom_fields); if (empty($custom_fields)) { error_log("No custom fields found for post ID: $post_id"); return; } error_log("Custom fields for post ID $post_id:"); foreach ($custom_fields as $key => $value) { // $value is always an array if (is_array($value)) { foreach ($value as $val) { error_log("$key => $val"); } } else { error_log("$key => $value"); } } ?>
Back to search results
R 559 000
MSRP
Call Now
Available from BMW Centurion
2023 Lenchen Ave S, Centurion Central, Centurion, 0157, South Africa
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_9.jpg
BMW
X1
(2021)
BMW MY20 sDRIVE18d xLINE STEPTRONIC
R 429 950
99 230 km
2021
AUTOMATIC
DIESEL
GREY

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_12.jpg
BMW
X1
(2021)
BMW MY20 sDRIVE20d STEPTRONIC
R 459 890
87 500 km
2021
AUTOMATIC
DIESEL
BLUE

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_10.jpg
BMW
X1
(2020)
BMW MY20 sDRIVE 18i xLINE STEPTRONIC
R 469 000
49 800 km
2020
AUTOMATIC
UNLEADED
Black Sapphire Metal

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_14.jpg
BMW
X1
(2020)
BMW MY20 sDRIVE18i STEPTRONIC
R 469 000
53 500 km
2020
AUTOMATIC
UNLEADED
Alpine White III

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070813_9.jpg
USED
2021
99 230 km
AUTOMATIC
DIESEL
GREY
R 429 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070877_12.jpg
USED
2021
87 500 km
AUTOMATIC
DIESEL
BLUE
R 459 890

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103449_10.jpg
USED
2020
49 800 km
AUTOMATIC
UNLEADED
Black Sapphire Metal
R 469 000

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_14.jpg
USED
2020
53 500 km
AUTOMATIC
UNLEADED
Alpine White III
R 469 000