<?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 TIGUAN (2020)

VOLKSWAGEN MY17 1.4 TSI COMFORTLINE DSG

R 459 900
Range:
TIGUAN
Year:
2020
Mileage:
70 000km
Colour:
PURE WHITE
Transmission:
AUTOMATIC
Fuel:
UNLEADED
Vehicle ID:
28232823
Available from Barons Woodmead
<?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 - Mastercars

Similar Listings 

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_25.jpg
VOLKSWAGEN
TIGUAN
(2015)

VOLKSWAGEN 1.4 TSI BMT TREND + FUN 4X2 DSG (118k

Array ( [vehicleid] => Array ( [0] => 28230094 ) [dumpdate] => Array ( [0] => 2025-09-09T16:51:56.653 ) [mmcode] => Array ( [0] => 64078098 ) [molstockbooknumber] => Array ( [0] => TOL10136_U0070121 ) [stockbooknumber] => Array ( [0] => U0070121 ) [vinnumber] => Array ( [0] => WVGZZZ5NZEW118179 ) [regnumber] => Array ( [0] => DDW674NC ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => TIGUAN ) [vehiclemodel] => Array ( [0] => 1.4 TSI BMT TREND + FUN 4X2 DSG (118k ) [vehicleyear] => Array ( [0] => 2015 ) [bodytype] => Array ( [0] => STATION WAGON ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => SILVER ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 106072 ) [servicehistory] => Array ( [0] => None ) [comments] => Array ( [0] => ) [price] => Array ( [0] => 199900 ) [dealershipid] => Array ( [0] => 233 ) [molnumber] => Array ( [0] => TOL10136 ) [dealershipname] => Array ( [0] => Barons Kuruman ) [pictures] => Array ( [0] => a:11:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_10.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_11.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_15.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_16.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_17.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_20.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_21.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_22.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_23.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070121_25.jpg";} ) [nmi_vehicle_id] => Array ( [0] => WVGZZZ5NZEW118179 ) ) 1
WVGZZZ5NZEW118179
WVGZZZ5NZEW118179
Colour: SILVER
TOL10136
28230094

Enquire

Contact Form
<?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 199 900
106 072km
2015
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_17.jpg
VOLKSWAGEN
TIGUAN
(2018)

VOLKSWAGEN MY17 1.4 TSI COMFORTLINE

Array ( [vehicleid] => Array ( [0] => 28233074 ) [dumpdate] => Array ( [0] => 2025-09-09T16:53:24.25 ) [mmcode] => Array ( [0] => 64078093 ) [molstockbooknumber] => Array ( [0] => TOL10136_U0070126 ) [stockbooknumber] => Array ( [0] => U0070126 ) [vinnumber] => Array ( [0] => WVGZZZ5NZJW834803 ) [regnumber] => Array ( [0] => CRJ939NC ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => TIGUAN ) [vehiclemodel] => Array ( [0] => MY17 1.4 TSI COMFORTLINE ) [vehicleyear] => Array ( [0] => 2018 ) [bodytype] => Array ( [0] => STATION WAGON ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => SILVER ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 52000 ) [servicehistory] => Array ( [0] => None ) [comments] => Array ( [0] => ) [price] => Array ( [0] => 289900 ) [dealershipid] => Array ( [0] => 233 ) [molnumber] => Array ( [0] => TOL10136 ) [dealershipname] => Array ( [0] => Barons Kuruman ) [pictures] => Array ( [0] => a:11:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_4.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_5.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_6.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_7.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_9.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_11.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_12.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_15.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_16.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol10136_u0070126_17.jpg";} ) [nmi_vehicle_id] => Array ( [0] => WVGZZZ5NZJW834803 ) ) 1
WVGZZZ5NZJW834803
WVGZZZ5NZJW834803
Colour: SILVER
TOL10136
28233074

Enquire

Contact Form
<?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 289 900
52 000km
2018
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_11.jpg
VOLKSWAGEN
TIGUAN
(2018)

VOLKSWAGEN MY17 2.0 TDI HIGHLINE 4MOTION DSG

Array ( [vehicleid] => Array ( [0] => 28233148 ) [dumpdate] => Array ( [0] => 2025-09-09T16:53:24.25 ) [mmcode] => Array ( [0] => 64078380 ) [molstockbooknumber] => Array ( [0] => MOL01342_U0071119 ) [stockbooknumber] => Array ( [0] => U0071119 ) [vinnumber] => Array ( [0] => WVGZZZ5NZJW846035 ) [regnumber] => Array ( [0] => CAA513458 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => TIGUAN ) [vehiclemodel] => Array ( [0] => MY17 2.0 TDI HIGHLINE 4MOTION DSG ) [vehicleyear] => Array ( [0] => 2018 ) [bodytype] => Array ( [0] => STATION WAGON ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => DIESEL ) [colour] => Array ( [0] => PURE WHITE ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 144641 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Barons Bellville MasterCars We can demo on your doorstep, anywhere in the Cape Peninsula! Finance with all major banks, insurance arranged, trade-ins are welcome. Awesome after sales service. Superbly looked after vehicles. Delivery can be arranged countrywide. Our Sales Staff will arrange everything for you! Give us a call & we will do the rest. We make it easy for YOU to buy a car! Optional warranties, service and maintenance plans available. Prices exclude “On the Road” and Delivery costs. ) [price] => Array ( [0] => 349900 ) [dealershipid] => Array ( [0] => 49 ) [molnumber] => Array ( [0] => MOL01342 ) [dealershipname] => Array ( [0] => Barons Bellville ) [pictures] => Array ( [0] => a:11:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01342_u0071119_11.jpg";} ) [nmi_vehicle_id] => Array ( [0] => WVGZZZ5NZJW846035 ) ) 1
WVGZZZ5NZJW846035
WVGZZZ5NZJW846035
Colour: PURE WHITE
MOL01342
28233148

Enquire

Contact Form
<?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 349 900
144 641km
2018
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_11.jpg
VOLKSWAGEN
TIGUAN
(2020)

VOLKSWAGEN ALLSPACE 1.4 TSI TRENDLINE DSG

Array ( [vehicleid] => Array ( [0] => 28228131 ) [dumpdate] => Array ( [0] => 2025-09-09T16:50:46.92 ) [mmcode] => Array ( [0] => 64078710 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071390 ) [stockbooknumber] => Array ( [0] => U0071390 ) [vinnumber] => Array ( [0] => WVGZZZ5NZLM159934 ) [regnumber] => Array ( [0] => CAA428137 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => TIGUAN ) [vehiclemodel] => Array ( [0] => ALLSPACE 1.4 TSI TRENDLINE DSG ) [vehicleyear] => Array ( [0] => 2020 ) [bodytype] => Array ( [0] => STATION WAGON ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => Pyrite Silver ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 113561 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => 1.4 TSI 110kW 2WD 6-Speed DSG | 110kW @ 250Nm | 161 CO2 | Fuel Consumption – 7.1l/100km | ESP, ABS, ASR, EDL, XDS, MSR, Multi-collision brake system | ) [price] => Array ( [0] => 368999 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:11:{i:0;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_1.jpg";i:1;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_2.jpg";i:2;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_3.jpg";i:3;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_4.jpg";i:4;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_5.jpg";i:5;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_6.jpg";i:6;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_7.jpg";i:7;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_8.jpg";i:8;s:88:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_9.jpg";i:9;s:89:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_10.jpg";i:10;s:89:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u31093_11.jpg";} ) [nmi_vehicle_id] => Array ( [0] => WVGZZZ5NZLM159934 ) ) 1
WVGZZZ5NZLM159934
WVGZZZ5NZLM159934
Colour: Pyrite Silver
MOL01433
28228131

Enquire

Contact Form
<?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 368 999
113 561km
2020
AUTOMATIC
More details