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 EXCLUSIVE (2024)

R 1 869 950
Description
Extras include but not limited to AMGLEDPARK ASSISTPANO ROOF
Mileage
36000 km
Year
Fuel Type
DIESEL
Exterior Colour
grey metallic
Transmission
AUTOMATIC
VIN
Vehicle ID
28380018
Features
Range
V-CLASS
Mileage
36 000 km
Year
2024
Colour
grey metallic
Transmission
AUTOMATIC
Fuel
DIESEL
Body Type
MULTI-PURPOSE
Doors
5
Service History
Full
Vin No.
W1V44781324289445
Comments
Extras include but not limited to AMGLEDPARK ASSISTPANO 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 1 869 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/tol10003_u64300_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64300_14.jpg
R 999 950
MERCEDES
V-CLASS
(2019)

MERCEDES 250 BlueTEC

USED
2019
62 000 km
AUTOMATIC
DIESEL
Blue
R 999 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51219_18.jpg
R 1 309 950
MERCEDES
V-CLASS
(2021)

MERCEDES 300d AVANTGARDE + AMG LINE

USED
2021
31 600 km
AUTOMATIC
DIESEL
Brilliant Silver Met 9744
R 1 309 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23077_12.jpg
R 1 359 950
MERCEDES
V-CLASS
(2022)

MERCEDES 300d EXCLUSIVE

USED
2022
81 000 km
AUTOMATIC
DIESEL
Black
R 1 359 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u64276_14.jpg
R 1 399 950
MERCEDES
V-CLASS
(2022)

MERCEDES 300d EXCLUSIVE

USED
2022
76 008 km
AUTOMATIC
DIESEL
Black
R 1 399 950