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

HYUNDAI 1.4 FLUID AT (2021)

R 239 900
Description
Finance available, trade ins welcome. Automark promises being: • Backed by Toyota • Seven day exchange plan • Guaranteed year model • Guaranteed not stolen • Guaranteed mileage • Automark warranty available • Vehicle subject to a check over
Mileage
71547 km
Year
Fuel Type
UNLEADED
Exterior Colour
GREY
Transmission
AUTOMATIC
VIN
Vehicle ID
28379348
Features
Range
i20
Mileage
71 547 km
Year
2021
Colour
GREY
Transmission
AUTOMATIC
Fuel
UNLEADED
Body Type
HATCH
Doors
5
Service History
Full
Vin No.
MALBM51CMLM838679
Comments
Finance available, trade ins welcome. Automark promises being: • Backed by Toyota • Seven day exchange plan • Guaranteed year model • Guaranteed not stolen • Guaranteed mileage • Automark warranty available • Vehicle subject to a check over

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 239 900
MSRP
Vehicle Enquiry
Back to search results
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01640_u0070481_12.jpg
R 219 900
HYUNDAI
i20
(2022)

HYUNDAI 1.2 MOTION

USED
2022
24 000 km
MANUAL
UNLEADED
SILVER
R 219 900
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10019_u0071487_11.jpg
R 229 800
HYUNDAI
i20
(2020)

HYUNDAI 1.2 FLUID

USED
2020
52 688 km
MANUAL
UNLEADED
WHITE
R 229 800
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070780_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070780_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070780_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070780_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01339_u0070780_5.jpg
R 279 953
HYUNDAI
i20
(2022)

HYUNDAI 1.0 TGDI FLUID

USED
2022
64 613 km
MANUAL
UNLEADED
SILVER
R 279 953
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10167_u0070696_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10167_u0070696_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10167_u0070696_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10167_u0070696_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10167_u0070696_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10167_u0070696_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10167_u0070696_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10167_u0070696_8.jpg
R 309 950
HYUNDAI
i20
(2023)

HYUNDAI 1.0 TGDI FLUID DCT

USED
2023
27 500 km
AUTOMATIC
UNLEADED
WHITE
R 309 950