<?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 235 950
Range:
POLO
Year:
2025
Mileage:
11 551km
Colour:
REFLEX SILVER METALLIC
Transmission:
MANUAL
Fuel:
UNLEADED
Vehicle ID:
28403065
Available from Barons Cape Town
<?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/mol01386_ud0050236_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_10.jpg
VOLKSWAGEN
POLO
(2024)

VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE

Array ( [vehicleid] => Array ( [0] => 28407705 ) [dumpdate] => Array ( [0] => 2025-10-13T02:39:01.367 ) [mmcode] => Array ( [0] => 64020721 ) [molstockbooknumber] => Array ( [0] => MOL01386_UD0050236 ) [stockbooknumber] => Array ( [0] => UD0050236 ) [vinnumber] => Array ( [0] => AAVZZZ6R4SU010376 ) [regnumber] => Array ( [0] => CAA625210 ) [uploadtype] => Array ( [0] => DEMO ) [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] => PURE WHITE ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 7857 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Barons Cape Town V&A Waterfront. Visit our dealership for a great selection used cars for sale. What you can expect when you purchase a Master Car - a long trusted Brand promise :80-Point Technical Inspection/24-Hour Roadside Assistance/Certified Mileage/Full-Service History, Optional 2-Year / Unlimited mileage. In house vehicle finance available. Chat to our team: Simphiwe Dyani Paul Zibi Daiyaan Edries Shamiel Nackerdien ) [price] => Array ( [0] => 239900 ) [dealershipid] => Array ( [0] => 51 ) [molnumber] => Array ( [0] => MOL01386 ) [dealershipname] => Array ( [0] => Barons Cape Town ) [pictures] => Array ( [0] => a:10:{i:0;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_2.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_3.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_4.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_5.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_6.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_7.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_8.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_9.jpg";i:9;s:92:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050236_10.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R4SU010376 ) ) 1
AAVZZZ6R4SU010376
AAVZZZ6R4SU010376
Colour: PURE WHITE
MOL01386
28407705

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 239 900
7 857km
2024
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_10.jpg
VOLKSWAGEN
POLO
(2025)

VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE

Array ( [vehicleid] => Array ( [0] => 28403111 ) [dumpdate] => Array ( [0] => 2025-10-13T02:38:42.937 ) [mmcode] => Array ( [0] => 64020721 ) [molstockbooknumber] => Array ( [0] => MOL01386_UD0050216 ) [stockbooknumber] => Array ( [0] => UD0050216 ) [vinnumber] => Array ( [0] => AAVZZZ6R7SU008024 ) [regnumber] => Array ( [0] => TEKTON4WP ) [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] => REEF BLUE METALLIC ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 5000 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Barons Cape Town V&A Waterfront. Visit our dealership for a great selection used cars for sale. What you can expect when you purchase a Master Car - a long trusted Brand promise :80-Point Technical Inspection/24-Hour Roadside Assistance/Certified Mileage/Full-Service History, Optional 2-Year / Unlimited mileage. In house vehicle finance available. Chat to our team: Simphiwe Dyani Paul Zibi Daiyaan Edries Elrick Johnson Shamiel Nackerdien ) [price] => Array ( [0] => 239900 ) [dealershipid] => Array ( [0] => 51 ) [molnumber] => Array ( [0] => MOL01386 ) [dealershipname] => Array ( [0] => Barons Cape Town ) [pictures] => Array ( [0] => a:10:{i:0;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_2.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_3.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_4.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_5.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_6.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_7.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_8.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_9.jpg";i:9;s:92:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050216_10.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R7SU008024 ) ) 1
AAVZZZ6R7SU008024
AAVZZZ6R7SU008024
Colour: REEF BLUE METALLIC
MOL01386
28403111

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 239 900
5 000km
2025
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_8.jpg
VOLKSWAGEN
POLO
(2024)

VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE

Array ( [vehicleid] => Array ( [0] => 28407873 ) [dumpdate] => Array ( [0] => 2025-10-13T02:39:01.367 ) [mmcode] => Array ( [0] => 64020721 ) [molstockbooknumber] => Array ( [0] => MOL01386_UD0050225 ) [stockbooknumber] => Array ( [0] => UD0050225 ) [vinnumber] => Array ( [0] => AAVZZZ6R5SU009530 ) [regnumber] => Array ( [0] => CA7061 ) [uploadtype] => Array ( [0] => DEMO ) [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] => SMOKY GREY METALLIC ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 11066 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Barons Cape Town V&A Waterfront. Visit our dealership for a great selection used cars for sale. What you can expect when you purchase a Master Car - a long trusted Brand promise :80-Point Technical Inspection/24-Hour Roadside Assistance/Certified Mileage/Full-Service History, Optional 2-Year / Unlimited mileage. In house vehicle finance available. Chat to our team: Simphiwe Dyani Paul Zibi Daiyaan Edries Vincent Braaf Shamiel Nackerdien ) [price] => Array ( [0] => 239900 ) [dealershipid] => Array ( [0] => 51 ) [molnumber] => Array ( [0] => MOL01386 ) [dealershipname] => Array ( [0] => Barons Cape Town ) [pictures] => Array ( [0] => a:8:{i:0;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_2.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_3.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_4.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_5.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_6.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_7.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050225_8.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R5SU009530 ) ) 1
AAVZZZ6R5SU009530
AAVZZZ6R5SU009530
Colour: SMOKY GREY METALLIC
MOL01386
28407873

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 239 900
11 066km
2024
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_11.jpg
VOLKSWAGEN
POLO
(2024)

VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE

Array ( [vehicleid] => Array ( [0] => 28408144 ) [dumpdate] => Array ( [0] => 2025-10-13T02:39:01.367 ) [mmcode] => Array ( [0] => 64020721 ) [molstockbooknumber] => Array ( [0] => MOL01386_UD0050227 ) [stockbooknumber] => Array ( [0] => UD0050227 ) [vinnumber] => Array ( [0] => AAVZZZ6R1SU010271 ) [regnumber] => Array ( [0] => CAA625191 ) [uploadtype] => Array ( [0] => DEMO ) [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] => REFLEX SILVER METALLIC ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 12866 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Barons Cape Town V&A Waterfront. Visit our dealership for a great selection used cars for sale. What you can expect when you purchase a Master Car - a long trusted Brand promise :80-Point Technical Inspection/24-Hour Roadside Assistance/Certified Mileage/Full-Service History, Optional 2-Year / Unlimited mileage. In house vehicle finance available. Chat to our team: Simphiwe Dyani Paul Zibi Daiyaan Edries Elrick Johnson Shamiel Nackerdien ) [price] => Array ( [0] => 239950 ) [dealershipid] => Array ( [0] => 51 ) [molnumber] => Array ( [0] => MOL01386 ) [dealershipname] => Array ( [0] => Barons Cape Town ) [pictures] => Array ( [0] => a:11:{i:0;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_2.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_3.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_4.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_5.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_6.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_7.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_8.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_9.jpg";i:9;s:92:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_10.jpg";i:10;s:92:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_ud0050227_11.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R1SU010271 ) ) 1
AAVZZZ6R1SU010271
AAVZZZ6R1SU010271
Colour: REFLEX SILVER METALLIC
MOL01386
28408144

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 239 950
12 866km
2024
MANUAL
More details