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

BMW 320i M SPORT STEPTRONIC (2017)

R 209 899
Description
Mileage
140461 km
Year
Fuel Type
UNLEADED
Exterior Colour
WHITE
Transmission
AUTOMATIC
VIN
Vehicle ID
28031695
Features
Range
3 SERIES
Mileage
140 461 km
Year
2017
Colour
WHITE
Transmission
AUTOMATIC
Fuel
UNLEADED
Body Type
SEDAN
Doors
4
Service History
Vin No.
WBA8A16060NU40141
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 209 899
MSRP
Vehicle Enquiry
Call Now
Available from Barons Woodmead
4 Waterval Crescent, Woodmead, 2191
Back to search results
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114066_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114066_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_11.jpg
R 459 000
97 000 km
2020
AUTOMATIC
UNLEADED
Alpine White III
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_13.jpg
R 479 000
79 900 km
2020
AUTOMATIC
UNLEADED
Alpine White III
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_16.jpg
R 579 900
65 000 km
2021
AUTOMATIC
UNLEADED
Alpine White III
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_19.jpg
BMW
3 SERIES
(2022)

BMW 320d M SPORT STEPTRONIC

R 649 000
62 000 km
2022
AUTOMATIC
DIESEL
Alpine White III
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114066_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114066_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u112606_11.jpg
R 459 000
BMW
3 SERIES
(2020)

BMW 318i SEDAN MY20.6 M SPORT STEPTRONIC

USED
2020
97 000 km
AUTOMATIC
UNLEADED
Alpine White III
R 459 000
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u101162_13.jpg
USED
2020
79 900 km
AUTOMATIC
UNLEADED
Alpine White III
R 479 000
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u113976_16.jpg
USED
2021
65 000 km
AUTOMATIC
UNLEADED
Alpine White III
R 579 900
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114044_19.jpg
R 649 000
BMW
3 SERIES
(2022)

BMW 320d M SPORT STEPTRONIC

USED
2022
62 000 km
AUTOMATIC
DIESEL
Alpine White III
R 649 000