<?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 (2025)

VOLKSWAGEN VIVO HATCH MY25 1.4

R 259 000
Range:
POLO
Year:
2025
Mileage:
6 748km
Colour:
Reef Blue
Transmission:
MANUAL
Fuel:
UNLEADED
Vehicle ID:
28387708
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_u0071466_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_15.jpg
VOLKSWAGEN
POLO
(2024)

VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE

Array ( [vehicleid] => Array ( [0] => 28387262 ) [dumpdate] => Array ( [0] => 2025-10-09T02:35:44.46 ) [mmcode] => Array ( [0] => 64020721 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071466 ) [stockbooknumber] => Array ( [0] => U0071466 ) [vinnumber] => Array ( [0] => AAVZZZ6R8SU007464 ) [regnumber] => Array ( [0] => CFM24823 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => VIVO HATCH MY25 1.4 LIFE ) [vehicleyear] => Array ( [0] => 2024 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => Ascot Grey ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 14573 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Extras include: • 15” Ubomi Alloy wheels • Twin headlamps with integrated high beam • Daytime 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 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:15:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071466_15.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R8SU007464 ) ) 1
AAVZZZ6R8SU007464
AAVZZZ6R8SU007464
Colour: Ascot Grey
MOL01433
28387262

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
14 573km
2024
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_9.jpg
VOLKSWAGEN
POLO
(2025)

VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE

Array ( [vehicleid] => Array ( [0] => 28387675 ) [dumpdate] => Array ( [0] => 2025-10-09T02:38:22.25 ) [mmcode] => Array ( [0] => 64020721 ) [molstockbooknumber] => Array ( [0] => MOL01433_UD0050169 ) [stockbooknumber] => Array ( [0] => UD0050169 ) [vinnumber] => Array ( [0] => AAVZZZ6R2SU018461 ) [regnumber] => Array ( [0] => CY238641 ) [uploadtype] => Array ( [0] => DEMO ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => VIVO HATCH MY25 1.4 LIFE ) [vehicleyear] => Array ( [0] => 2025 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => REFLEX SILVER METALLIC ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 5000 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Extras include:•15” Ubomi Alloy wheels•Twin headlamps with integrated high beam•Daytime Running LightsTrade 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] => 279000 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:9:{i:0;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_2.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_3.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_4.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_5.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_6.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_7.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_8.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050169_9.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R2SU018461 ) ) 1
AAVZZZ6R2SU018461
AAVZZZ6R2SU018461
Colour: REFLEX SILVER METALLIC
MOL01433
28387675

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 279 000
5 000km
2025
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_8.jpg
VOLKSWAGEN
POLO
(2025)

VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE

Array ( [vehicleid] => Array ( [0] => 28387684 ) [dumpdate] => Array ( [0] => 2025-10-09T02:38:22.25 ) [mmcode] => Array ( [0] => 64020721 ) [molstockbooknumber] => Array ( [0] => MOL01433_UD0050167 ) [stockbooknumber] => Array ( [0] => UD0050167 ) [vinnumber] => Array ( [0] => AAVZZZ6R8SU023079 ) [regnumber] => Array ( [0] => CY53517 ) [uploadtype] => Array ( [0] => DEMO ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => VIVO HATCH MY25 1.4 LIFE ) [vehicleyear] => Array ( [0] => 2025 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => ASCOT GRAY ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 5000 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Extras include: • 15” Ubomi Alloy wheels • Twin headlamps with integrated high beam • Daytime 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 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] => 284999 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:8:{i:0;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_2.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_3.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_4.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_5.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_6.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_7.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_8.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R8SU023079 ) ) 1
AAVZZZ6R8SU023079
AAVZZZ6R8SU023079
Colour: ASCOT GRAY
MOL01433
28387684

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 284 999
5 000km
2025
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_10.jpg
VOLKSWAGEN
POLO
(2025)

VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE

Array ( [vehicleid] => Array ( [0] => 28382765 ) [dumpdate] => Array ( [0] => 2025-10-09T02:35:44.46 ) [mmcode] => Array ( [0] => 64020721 ) [molstockbooknumber] => Array ( [0] => MOL01433_UD0050174 ) [stockbooknumber] => Array ( [0] => UD0050174 ) [vinnumber] => Array ( [0] => AAVZZZ6R6SU023808 ) [regnumber] => Array ( [0] => CY446822 ) [uploadtype] => Array ( [0] => DEMO ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => VIVO HATCH MY25 1.4 LIFE ) [vehicleyear] => Array ( [0] => 2025 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => WILD CHERRY RED METALLIC ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 3500 ) [servicehistory] => Array ( [0] => ) [comments] => Array ( [0] => ) [price] => Array ( [0] => 284999 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:10:{i:0;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_2.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_3.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_4.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_5.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_6.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_7.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_8.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_9.jpg";i:9;s:92:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_10.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R6SU023808 ) ) 1
AAVZZZ6R6SU023808
AAVZZZ6R6SU023808
Colour: WILD CHERRY RED METALLIC
MOL01433
28382765

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 284 999
3 500km
2025
MANUAL
More details