<?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 STEPTRONIC (2021)
R 459 890
Description
Full Service History with the option of extended warranty and Service plan. On the road costs excluded,Trade in's accepted, In-house finance options are available, nation wide delivery.
Mileage
87500 km
Year
Fuel Type
DIESEL
Exterior Colour
BLUE
Transmission
AUTOMATIC
VIN
Vehicle ID
27971353
Features
Range
X1
Mileage
87 500 km
Year
2021
Colour
BLUE
Transmission
AUTOMATIC
Fuel
DIESEL
Body Type
STATION WAGON
Doors
5
Service History
Full
Vin No.
WBA52AD0205136281
Comments
Full Service History with the option of extended warranty and Service plan. On the road costs excluded,Trade in's accepted, In-house finance options are available, nation wide delivery.
<?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 459 890
MSRP
Call Now
Available from NMI Ford Pietermaritzburg
15 Chatterton Rd, Town Hill, Pietermaritzburg, 3200, 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/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/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/mol01609_25281_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_11.jpg
BMW
X1
(2021)
BMW MY20 sDRIVE18d M SPORT STEPTRONIC
R 469 900
100 000 km
2021
AUTOMATIC
DIESEL
Mineral White Metallic

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/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

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/mol01609_25281_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_25281_11.jpg
USED
2021
100 000 km
AUTOMATIC
DIESEL
Mineral White Metallic
R 469 900