<?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 GRAN COUPE MY21 218d M SPORT STEPTRONIC (2021)
R 529 000
Description
Motorplan 2026,03,30 *Melbourne Red Metallic *Cloth Trigon Sensatec Black *18" M Double spoke *Panorama glass *Parking Assist *Hi Fi loudspeaker *Connected Package Pro *Live Cockpit Pro *Edition NEXT 3.0
Mileage
55600 km
Year
Fuel Type
DIESEL
Exterior Colour
Melbourne Red Metallic
Transmission
AUTOMATIC
VIN
Vehicle ID
28063208
Features
Range
2 SERIES
Mileage
55 600 km
Year
2021
Colour
Melbourne Red Metallic
Transmission
AUTOMATIC
Fuel
DIESEL
Body Type
COUPE
Doors
5
Service History
Full
Vin No.
WBA32AM0907H62984
Comments
Motorplan 2026,03,30 *Melbourne Red Metallic *Cloth Trigon Sensatec Black *18" M Double spoke *Panorama glass *Parking Assist *Hi Fi loudspeaker *Connected Package Pro *Live Cockpit Pro *Edition NEXT 3.0
<?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 529 000
MSRP
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_17.jpg
BMW
2 SERIES
(2020)
BMW 220d GRAN COUPE M SPORT STEPTRONIC
R 419 000
125 000 km
2020
AUTOMATIC
DIESEL
Grey

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103890_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103890_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103890_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103890_4.jpg
BMW
2 SERIES
(2021)
BMW GRAN COUPE MY20 218i M SPORT STEPTRONIC
R 419 000
84 900 km
2021
AUTOMATIC
UNLEADED
Alpine White III

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_12.jpg
BMW
2 SERIES
(2020)
BMW 220i COUPE M SPORT STEPTRONIC
R 449 000
67 300 km
2020
AUTOMATIC
UNLEADED
Estoril Blue Metallic

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_14.jpg
BMW
2 SERIES
(2021)
BMW GRAN COUPE MY21 218d M SPORT STEPTRONIC
R 459 000
71 900 km
2021
AUTOMATIC
DIESEL
Misano Blue metallic

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114068_17.jpg
USED
2020
125 000 km
AUTOMATIC
DIESEL
Grey
R 419 000

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103890_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103890_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103890_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103890_4.jpg
USED
2021
84 900 km
AUTOMATIC
UNLEADED
Alpine White III
R 419 000

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103838_12.jpg
USED
2020
67 300 km
AUTOMATIC
UNLEADED
Estoril Blue Metallic
R 449 000

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103886_14.jpg
USED
2021
71 900 km
AUTOMATIC
DIESEL
Misano Blue metallic
R 459 000