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 220 d (2019)

R 539 890
Description
Mileage
85000 km
Year
Fuel Type
DIESEL
Exterior Colour
SILVER
Transmission
AUTOMATIC
VIN
Vehicle ID
27904005
Features
Range
GLC
Mileage
85 000 km
Year
2019
Colour
SILVER
Transmission
AUTOMATIC
Fuel
DIESEL
Body Type
STATION WAGON
Doors
5
Service History
None
Vin No.
WDC2539152F678371
Comments

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 539 890
MSRP
Vehicle Enquiry
Back to search results
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_15.jpg
R 349 899
129 578 km
2017
AUTOMATIC
DIESEL
Designo Magno White
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_17.jpg
R 429 950
75 400 km
2016
AUTOMATIC
DIESEL
White
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_13.jpg
R 499 950
90 000 km
2018
AUTOMATIC
DIESEL
polar white
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_13.jpg
MERCEDES
GLC
(2024)

MERCEDES 220d 4MATIC

R 999 950
10 814 km
2024
AUTOMATIC
DIESEL
Mojave silver
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u27713_15.jpg
R 349 899
MERCEDES
GLC
(2017)

MERCEDES 250 d 4MATIC 9G-TRONIC

USED
2017
129 578 km
AUTOMATIC
DIESEL
Designo Magno White
R 349 899
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51217_17.jpg
R 429 950
MERCEDES
GLC
(2016)

MERCEDES 250 d 4MATIC 9G-TRONIC

USED
2016
75 400 km
AUTOMATIC
DIESEL
White
R 429 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u61002_13.jpg
R 499 950
MERCEDES
GLC
(2018)

MERCEDES 250 d 4MATIC 9G-TRONIC

USED
2018
90 000 km
AUTOMATIC
DIESEL
polar white
R 499 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10003_u63927_13.jpg
R 999 950
MERCEDES
GLC
(2024)

MERCEDES 220d 4MATIC

USED
2024
10 814 km
AUTOMATIC
DIESEL
Mojave silver
R 999 950