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

VOLKSWAGEN 1.2 TSI TRENDLINE

R 179 000
Range:
POLO
Year:
2017
Mileage:
86 056km
Colour:
Blue Silk
Transmission:
MANUAL
Fuel:
UNLEADED
Vehicle ID:
28420063
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_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] => 28420052 ) [dumpdate] => Array ( [0] => 2025-10-16T15:50:36.917 ) [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
28420052

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_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] => 28420037 ) [dumpdate] => Array ( [0] => 2025-10-16T15:50:36.917 ) [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] => 269990 ) [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
28420037

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 990
3 500km
2025
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_7.jpg
VOLKSWAGEN
POLO
(2025)

VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE

Array ( [vehicleid] => Array ( [0] => 28419694 ) [dumpdate] => Array ( [0] => 2025-10-16T15:52:14.887 ) [mmcode] => Array ( [0] => 64020721 ) [molstockbooknumber] => Array ( [0] => MOL01433_UD0050176 ) [stockbooknumber] => Array ( [0] => UD0050176 ) [vinnumber] => Array ( [0] => AAVZZZ6R1SU027104 ) [regnumber] => Array ( [0] => CY297274 ) [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] => 1500 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Unleash the joy of driving with our Polo Vivo. Experience the perfect blend of style, comfort and economic performance. Low mileage, high, high satisfaction - seize this opportunity for a test drive and elevate your driving experience with the Polo Vivo 1. 4. ) [price] => Array ( [0] => 269990 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:7:{i:0;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_2.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_3.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_4.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_5.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_6.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050176_7.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R1SU027104 ) ) 1
AAVZZZ6R1SU027104
AAVZZZ6R1SU027104
Colour: ASCOT GRAY
MOL01433
28419694

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 990
1 500km
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] => 28420032 ) [dumpdate] => Array ( [0] => 2025-10-16T15:50:36.917 ) [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] => 269990 ) [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
28420032

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 990
5 000km
2025
MANUAL
More details