<?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 779 950
Description
Mileage
6780 km
Year
Fuel Type
UNLEADED
Exterior Colour
Mountain Grey
Transmission
AUTOMATIC
VIN
Vehicle ID
28169862
Features
Range
GLA
Mileage
6 780 km
Year
2025
Colour
Mountain Grey
Transmission
AUTOMATIC
Fuel
UNLEADED
Body Type
STATION WAGON
Doors
5
Service History
Vin No.
W1N2477872J737638
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 779 950
MSRP
Call Now
Available from Garden City Motors Pietermaritzburg
9 Armitage Rd, Town Hill, Pietermaritzburg, 3201, South Africa
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_12.jpg
MERCEDES
GLA
(2016)
MERCEDES 200
R 229 900
148 000 km
2016
MANUAL
UNLEADED
GREY

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_10.jpg
MERCEDES
GLA
(2025)
MERCEDES 200 AT
R 769 950
10 733 km
2025
AUTOMATIC
UNLEADED
paint polar white

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_13.jpg
MERCEDES
GLA
(2025)
MERCEDES 200 AT
R 769 950
7 090 km
2025
AUTOMATIC
UNLEADED
cosmos black

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_13.jpg
MERCEDES
GLA
(2024)
MERCEDES 200 AT
R 769 950
11 300 km
2024
AUTOMATIC
UNLEADED
iridium silver metal

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0070987_12.jpg
USED
2016
148 000 km
MANUAL
UNLEADED
GREY
R 229 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64057_10.jpg
USED
2025
10 733 km
AUTOMATIC
UNLEADED
paint polar white
R 769 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64070_13.jpg
USED
2025
7 090 km
AUTOMATIC
UNLEADED
cosmos black
R 769 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63374_13.jpg
USED
2024
11 300 km
AUTOMATIC
UNLEADED
iridium silver metal
R 769 950