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 SEDAN MY22.9 318i M SPORT AT (2023)

R 639 000
Description
Motorplan 2028,10,23 *Alpine White *Sensatec perforated Black *18" M Double spoke *Glass Sunroof *Parking Assist *Hi Fi loudspeaker *Storage for wireless charging *Connected Package Pro *Live Cockpit Plus *Widescreen Display *Deluxe Package
Mileage
29000 km
Year
Fuel Type
UNLEADED
Exterior Colour
Alpine White III
Transmission
AUTOMATIC
VIN
Vehicle ID
28480029
Features
Range
3 SERIES
Mileage
29 000 km
Year
2023
Colour
Alpine White III
Transmission
AUTOMATIC
Fuel
UNLEADED
Body Type
SEDAN
Doors
4
Service History
Full
Vin No.
WBA22FF040FP37242
Comments
Motorplan 2028,10,23 *Alpine White *Sensatec perforated Black *18" M Double spoke *Glass Sunroof *Parking Assist *Hi Fi loudspeaker *Storage for wireless charging *Connected Package Pro *Live Cockpit Plus *Widescreen Display *Deluxe Package

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 639 000
MSRP
Vehicle Enquiry
Back to search results
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114132_17.jpg
R 479 900
BMW
3 SERIES
(2019)

BMW 330i M SPORT LAUNCH EDT STEPTRONIC

USED
2019
89 543 km
AUTOMATIC
UNLEADED
White
R 479 900
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104076_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104076_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104076_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104076_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104076_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104076_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104076_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104076_8.jpg
R 499 000
BMW
3 SERIES
(2021)

BMW 320d M SPORT STEPTRONIC

USED
2021
108 500 km
AUTOMATIC
DIESEL
Mineral Grey Metallic
R 499 000
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_24.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_25.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_26.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_27.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10000_u25485_28.jpg
R 639 950
BMW
3 SERIES
(2021)

BMW 330i M SPORT STEPTRONIC

USED
2021
37 000 km
AUTOMATIC
UNLEADED
White
R 639 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103774_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103774_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103774_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103774_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103774_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103774_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103774_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103774_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103774_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103774_10.jpg
R 649 000
BMW
3 SERIES
(2023)

BMW SEDAN MY22.9 318i M SPORT AT

USED
2023
29 000 km
AUTOMATIC
UNLEADED
Portimao Blue Metallic
R 649 000