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 (2020)

R 699 950
Description
Extras include but not limited toAMGLED LIGHTS PAK ASSIST REV CAMPANO ROOF
Mileage
67884 km
Year
Fuel Type
DIESEL
Exterior Colour
white
Transmission
AUTOMATIC
VIN
Vehicle ID
28480994
Features
Range
GLC
Mileage
67 884 km
Year
2020
Colour
white
Transmission
AUTOMATIC
Fuel
DIESEL
Body Type
COUPE
Doors
4
Service History
Full
Vin No.
W1N2539192F879653
Comments
Extras include but not limited toAMGLED LIGHTS PAK ASSIST REV CAMPANO ROOF

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 699 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_u64343_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64343_13.jpg
R 949 950
MERCEDES
GLC
(2023)

MERCEDES 300d 4MATIC

USED
2023
68 190 km
AUTOMATIC
DIESEL
polar white
R 949 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