Shop . Click . Drive
<?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,
            }
        }
    });
});
1
Pre-Owned

MERCEDES 300d 4MATIC (2023)

R 949 950
Description
Extras include but not limited toAMGLED LIGHTSPARK ASSISTNIGHT PACKREV CAM
Mileage
68190 km
Year
Fuel Type
DIESEL
Exterior Colour
polar white
Transmission
AUTOMATIC
VIN
Vehicle ID
28481889
Features
Range
GLC
Mileage
68 190 km
Year
2023
Colour
polar white
Transmission
AUTOMATIC
Fuel
DIESEL
Body Type
STATION WAGON
Doors
5
Service History
Full
Vin No.
W1N2546072F024357
Comments
Extras include but not limited toAMGLED LIGHTSPARK ASSISTNIGHT PACKREV CAM

Finance Calculator

Car Loan Calculator with balloon
%
Years
%

Estimated Payment

R/month

Car Price

R

Principal
R
Car Loan Calculator with balloon
%
Years
%

Estimated Payment

R/month

Car Price

R

Principal
R
Contact Person
Contact Email
<?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 949 950
MSRP
Vehicle Enquiry
Call Now
Available from Mercedes Benz Umhlanga
2 Canegate Rd, Somerset Park, Umhlanga, 4051
Back to search results
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51268_15.jpg
R 559 950
MERCEDES
GLC
(2019)

MERCEDES 250 d 4MATIC AMG 9G-TRONIC

USED
2019
69 600 km
AUTOMATIC
DIESEL
White
R 559 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64353_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64353_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64353_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64353_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64353_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64353_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64353_17.jpg
R 699 950
MERCEDES
GLC
(2020)

MERCEDES 300d

USED
2020
67 884 km
AUTOMATIC
DIESEL
white
R 699 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10140_u29984_14.jpg
R 1 019 950
MERCEDES
GLC
(2023)

MERCEDES 220d 4MATIC

USED
2023
40 966 km
AUTOMATIC
DIESEL
White
R 1 019 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51215_17.jpg
R 1 029 950
MERCEDES
GLC
(2024)

MERCEDES 300d 4MATIC

USED
2024
13 900 km
AUTOMATIC
DIESEL
Mojave silver
R 1 029 950