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 MY22 sDRIVE 18i M SPORT (2022)

R 699 000
Description
Motorplan 2027,11,29 *Alpine White *Sensatec perforated Black *19" M Double spoke *Gearshift paddles *Comfort Access *Trailer tow hitch *Panorama glass *Seat adjustment electric *Adaptive LED headlights *High Beam Assist *Parking Assist Plus *Head-up display *Harman Kardon *Storage for wireless charging *Live Cockpit Pro *Equipment package Pro *Premium package Plus
Mileage
14011 km
Year
Fuel Type
UNLEADED
Exterior Colour
Alpine White III
Transmission
AUTOMATIC
VIN
Vehicle ID
28480019
Features
Range
X1
Mileage
14 011 km
Year
2022
Colour
Alpine White III
Transmission
AUTOMATIC
Fuel
UNLEADED
Body Type
STATION WAGON
Doors
5
Service History
Full
Vin No.
WBA22EE0005V95439
Comments
Motorplan 2027,11,29 *Alpine White *Sensatec perforated Black *19" M Double spoke *Gearshift paddles *Comfort Access *Trailer tow hitch *Panorama glass *Seat adjustment electric *Adaptive LED headlights *High Beam Assist *Parking Assist Plus *Head-up display *Harman Kardon *Storage for wireless charging *Live Cockpit Pro *Equipment package Pro *Premium package Plus

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 000
MSRP
Vehicle Enquiry
Back to search results
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01613_u51271_12.jpg
USED
2019
80 500 km
AUTOMATIC
UNLEADED
White
R 379 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01609_u114167_17.jpg
R 429 000
BMW
X1
(2019)

BMW MY20 sDRIVE18i STEPTRONIC

USED
2019
58 500 km
AUTOMATIC
UNLEADED
Mineral Grey Metallic
R 429 000
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u103929_14.jpg
R 439 000
BMW
X1
(2020)

BMW MY20 sDRIVE18i STEPTRONIC

USED
2020
53 500 km
AUTOMATIC
UNLEADED
Alpine White III
R 439 000
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104089_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104089_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104089_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104089_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104089_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104089_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104089_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10163_u104089_8.jpg
USED
2021
63 939 km
AUTOMATIC
DIESEL
Alpine White III
R 499 000