<?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,
            }
        }
    });
});
VOLKSWAGEN POLO (2022)

VOLKSWAGEN HATCH MY22 1.0 TSI

R 259 000
Range:
POLO
Year:
2022
Mileage:
46 846km
Colour:
White
Transmission:
MANUAL
Fuel:
UNLEADED
Vehicle ID:
28324158
Available from Barons N1 City
<?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");
        }
    }
?>
Sales Enquiry

Similar Listings 

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_19.jpg
VOLKSWAGEN
POLO
(2020)

VOLKSWAGEN 1.0 TSI COMFORTLINE

Array ( [vehicleid] => Array ( [0] => 28324010 ) [dumpdate] => Array ( [0] => 2025-09-26T16:50:48.28 ) [mmcode] => Array ( [0] => 64027664 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071384 ) [stockbooknumber] => Array ( [0] => U0071384 ) [vinnumber] => Array ( [0] => AAVZZZAWZLU006918 ) [regnumber] => Array ( [0] => CF230631 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => 1.0 TSI COMFORTLINE ) [vehicleyear] => Array ( [0] => 2020 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => Pure White ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 58000 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Multi-Function Steering USB Radio High- level brake ABS with EBD. Front Fog lights Height adjustable seat. ) [price] => Array ( [0] => 248999 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:19:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_1.jpg";i:1;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_2.jpg";i:2;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_3.jpg";i:3;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_4.jpg";i:4;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_5.jpg";i:5;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_6.jpg";i:6;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_7.jpg";i:7;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_8.jpg";i:8;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_9.jpg";i:9;s:89:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u29456_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_15.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_16.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_17.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_18.jpg";i:18;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071384_19.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZAWZLU006918 ) ) 1
AAVZZZAWZLU006918
AAVZZZAWZLU006918
Colour: Pure White
MOL01433
28324010

Enquire

Sales Enquiry
<?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");
        }
    }
?>
R 248 999
58 000km
2020
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_10.jpg
VOLKSWAGEN
POLO
(2025)

VOLKSWAGEN VIVO HATCH MY25 1.4

Array ( [vehicleid] => Array ( [0] => 28324005 ) [dumpdate] => Array ( [0] => 2025-09-26T16:53:48.043 ) [mmcode] => Array ( [0] => 64020701 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071419 ) [stockbooknumber] => Array ( [0] => U0071419 ) [vinnumber] => Array ( [0] => AAVZZZ6R1SU011856 ) [regnumber] => Array ( [0] => CY472324 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => VIVO HATCH MY25 1.4 ) [vehicleyear] => Array ( [0] => 2025 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => Reef Blue ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 6748 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Extras include:•9-inch Mirgor radio incl. • App-connect•Electronic Stability Control•Front fog lamps and cornering lights incl. DTRL •Tyre Pressure Monitor SystemTrade ins welcome and nationwide delivery at an agreed cost. To avoid disappointment, kindly speak to one of our Certified Mastercar Sales Executives Rynard Snyman, Eric Adolph, Mildred Frantz, Carmen Ray, Ashley Naicker, or Kirsten Redelinghuys for more info. Buy your next Volkswagen Mastercar with complete confidence. ) [price] => Array ( [0] => 259000 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:10:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_10.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R1SU011856 ) ) 1
AAVZZZ6R1SU011856
AAVZZZ6R1SU011856
Colour: Reef Blue
MOL01433
28324005

Enquire

Sales Enquiry
<?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");
        }
    }
?>
R 259 000
6 748km
2025
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071427_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071427_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071427_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071427_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071427_5.jpg
VOLKSWAGEN
POLO
(2020)

VOLKSWAGEN 1.0 TSI COMFORTLINE DSG

Array ( [vehicleid] => Array ( [0] => 28324403 ) [dumpdate] => Array ( [0] => 2025-09-26T16:54:06.797 ) [mmcode] => Array ( [0] => 64027670 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071427 ) [stockbooknumber] => Array ( [0] => U0071427 ) [vinnumber] => Array ( [0] => AAVZZZAWZLU002213 ) [regnumber] => Array ( [0] => CL69590 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => 1.0 TSI COMFORTLINE DSG ) [vehicleyear] => Array ( [0] => 2020 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => White ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 83610 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Extras include Hill-hold Assist Flat-tyre indicator Multi-function display Connectivity Package Daytime LED running lights Trade ins welcome and nationwide delivery at an agreed cost. To avoid disappointment, kindly speak to one of our Certified Mastercar Sales Executives Carmen Ray, Mildred Frantz, Kirsten Redelinghuys, Ashley Naicker, Eric Adolph or Rynard Snyman for more info. Buy your next Volkswagen Mastercar with complete confidence. ) [price] => Array ( [0] => 269000 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:5:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071427_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071427_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071427_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071427_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071427_5.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZAWZLU002213 ) ) 1
AAVZZZAWZLU002213
AAVZZZAWZLU002213
Colour: White
MOL01433
28324403

Enquire

Sales Enquiry
<?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");
        }
    }
?>
R 269 000
83 610km
2020
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071323_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071323_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071323_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071323_7.jpg
VOLKSWAGEN
POLO
(2023)

VOLKSWAGEN HATCH MY22 1.0 TSI

Array ( [vehicleid] => Array ( [0] => 28319450 ) [dumpdate] => Array ( [0] => 2025-09-26T16:53:48.043 ) [mmcode] => Array ( [0] => 64027662 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071323 ) [stockbooknumber] => Array ( [0] => U0071323 ) [vinnumber] => Array ( [0] => AAVZZZAWZPU051043 ) [regnumber] => Array ( [0] => CY44694 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => HATCH MY22 1.0 TSI ) [vehicleyear] => Array ( [0] => 2023 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => Pure White ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 30182 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Extras include LED Headlights and Taillights Multi-function steering wheel Digital Cockpit 6.5" Composition Colour Radio App-Connect Trade ins welcome and nationwide delivery at an agreed cost. To avoid disappointment, kindly speak to one of our Certified Mastercar Sales Executives Carmen Ray, Mildred Frantz, Ashley Naicker, Kirsten Redelinghuys, Eric Adolph or Rynard Snyman for more info. Buy your next Volkswagen Mastercar with complete confidence. ) [price] => Array ( [0] => 278999 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:4:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071323_4.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071323_5.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071323_6.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071323_7.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZAWZPU051043 ) ) 1
AAVZZZAWZPU051043
AAVZZZAWZPU051043
Colour: Pure White
MOL01433
28319450

Enquire

Sales Enquiry
<?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");
        }
    }
?>
R 278 999
30 182km
2023
MANUAL
More details