<?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
MERCEDES 250 d 4MATIC 9G-TRONIC (2018)
R 499 950
Description
Mileage
90000 km
Year
Fuel Type
DIESEL
Exterior Colour
polar white
Transmission
AUTOMATIC
VIN
Vehicle ID
27972595
Features
Range
GLC
Mileage
90 000 km
Year
2018
Colour
polar white
Transmission
AUTOMATIC
Fuel
DIESEL
Body Type
STATION WAGON
Doors
5
Service History
Full
Vin No.
WDC2539092F490825
Comments
<?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 499 950
MSRP
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_15.jpg
MERCEDES
GLC
(2017)
MERCEDES 250 d 4MATIC 9G-TRONIC
R 349 899
129 578 km
2017
AUTOMATIC
DIESEL
Designo Magno White

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_17.jpg
MERCEDES
GLC
(2016)
MERCEDES 250 d 4MATIC 9G-TRONIC
R 429 950
75 400 km
2016
AUTOMATIC
DIESEL
White

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_19.jpg
MERCEDES
GLC
(2019)
MERCEDES 220 d
R 539 890
85 000 km
2019
AUTOMATIC
DIESEL
SILVER

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_13.jpg
MERCEDES
GLC
(2024)
MERCEDES 220d 4MATIC
R 999 950
10 814 km
2024
AUTOMATIC
DIESEL
Mojave silver

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_15.jpg
USED
2017
129 578 km
AUTOMATIC
DIESEL
Designo Magno White
R 349 899

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_17.jpg
USED
2016
75 400 km
AUTOMATIC
DIESEL
White
R 429 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01627_u0070903_19.jpg
USED
2019
85 000 km
AUTOMATIC
DIESEL
SILVER
R 539 890

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_13.jpg
USED
2024
10 814 km
AUTOMATIC
DIESEL
Mojave silver
R 999 950