<?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 200 AT (2025)
R 769 950
Description
Extras include but not limited to
AMG
LED
PARK ASSIST
REV CAM
NIGHT PACK
20IINCH WHEELS
Mileage
7204 km
Year
Fuel Type
UNLEADED
Exterior Colour
cosmos black
Transmission
AUTOMATIC
VIN
Vehicle ID
28190308
Features
Range
GLA
Mileage
7 204 km
Year
2025
Colour
cosmos black
Transmission
AUTOMATIC
Fuel
UNLEADED
Body Type
STATION WAGON
Doors
5
Service History
Full
Vin No.
W1N2477872J720895
Comments
Extras include but not limited to
AMG
LED
PARK ASSIST
REV CAM
NIGHT PACK
20IINCH WHEELS
<?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 769 950
MSRP
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_9.jpg
MERCEDES
GLA
(2025)
MERCEDES 200 AT
R 749 950
6 780 km
2025
AUTOMATIC
UNLEADED
Mountain Grey

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_8.jpg
MERCEDES
GLA
(2025)
MERCEDES 200 AT
R 749 950
2 850 km
2025
AUTOMATIC
UNLEADED
Mountain Grey

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_8.jpg
MERCEDES
GLA
(2025)
MERCEDES 200 AT
R 749 950
9 700 km
2025
AUTOMATIC
UNLEADED
Solid paint polar white

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_9.jpg
MERCEDES
GLA
(2025)
MERCEDES 200 AT
R 749 950
14 666 km
2025
AUTOMATIC
UNLEADED
White

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28071_9.jpg
USED
2025
6 780 km
AUTOMATIC
UNLEADED
Mountain Grey
R 749 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28072_8.jpg
USED
2025
2 850 km
AUTOMATIC
UNLEADED
Mountain Grey
R 749 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28032_8.jpg
USED
2025
9 700 km
AUTOMATIC
UNLEADED
Solid paint polar white
R 749 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10005_u28041_9.jpg
USED
2025
14 666 km
AUTOMATIC
UNLEADED
White
R 749 950