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

VOLKSWAGEN MY20 1.0 TSI HIGHLINE DSG

R 288 999
Range:
T-CROSS
Year:
2020
Mileage:
90 155km
Colour:
White
Transmission:
AUTOMATIC
Fuel:
UNLEADED
Vehicle ID:
28529359
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_uvw32mst123366_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_uvw32mst123366_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_uvw32mst123366_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_uvw32mst123366_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_uvw32mst123366_5.jpg
VOLKSWAGEN
T-CROSS
(2021)

VOLKSWAGEN MY20 1.0 TSI COMFORTLINE DSG

Array ( [vehicleid] => Array ( [0] => 28534396 ) [dumpdate] => Array ( [0] => 2025-11-08T15:50:30.757 ) [mmcode] => Array ( [0] => 64030170 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071522 ) [stockbooknumber] => Array ( [0] => U0071522 ) [vinnumber] => Array ( [0] => WVGZZZC1ZMY123366 ) [regnumber] => Array ( [0] => CY238735 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => T-CROSS ) [vehiclemodel] => Array ( [0] => MY20 1.0 TSI COMFORTLINE DSG ) [vehicleyear] => Array ( [0] => 2021 ) [bodytype] => Array ( [0] => CROSSOVER ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => Limestone Grey ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 74174 ) [servicehistory] => Array ( [0] => ) [comments] => Array ( [0] => ) [price] => Array ( [0] => 328999 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:5:{i:0;s:96:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_uvw32mst123366_1.jpg";i:1;s:96:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_uvw32mst123366_2.jpg";i:2;s:96:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_uvw32mst123366_3.jpg";i:3;s:96:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_uvw32mst123366_4.jpg";i:4;s:96:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_uvw32mst123366_5.jpg";} ) [nmi_vehicle_id] => Array ( [0] => WVGZZZC1ZMY123366 ) ) 1
WVGZZZC1ZMY123366
WVGZZZC1ZMY123366
Colour: Limestone Grey
MOL01433
28534396

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 328 999
74 174km
2021
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_14.jpg
VOLKSWAGEN
T-CROSS
(2022)

VOLKSWAGEN MY20 1.0 TSI HIGHLINE DSG

Array ( [vehicleid] => Array ( [0] => 28532611 ) [dumpdate] => Array ( [0] => 2025-11-08T15:50:30.757 ) [mmcode] => Array ( [0] => 64030190 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071482 ) [stockbooknumber] => Array ( [0] => U0071482 ) [vinnumber] => Array ( [0] => WVGZZZC1ZNY108546 ) [regnumber] => Array ( [0] => CAA413394 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => T-CROSS ) [vehiclemodel] => Array ( [0] => MY20 1.0 TSI HIGHLINE DSG ) [vehicleyear] => Array ( [0] => 2022 ) [bodytype] => Array ( [0] => CROSSOVER ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => Grey ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 90269 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Extras InfotainmentAPP-CONNECT with Wireless Charging LED headlamps Park distance control in front and rearLights & Vision packageFront fog lampsTrade 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. Extras APP-CONNECT with Wireless Charging LED headlamps Park distance control in front and rearLights & Vision packageFront fog lampsTrade 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] => 349000 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:14:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071482_14.jpg";} ) [nmi_vehicle_id] => Array ( [0] => WVGZZZC1ZNY108546 ) ) 1
WVGZZZC1ZNY108546
WVGZZZC1ZNY108546
Colour: Grey
MOL01433
28532611

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 349 000
90 269km
2022
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_10.jpg
VOLKSWAGEN
T-CROSS
(2023)

VOLKSWAGEN MY21 1.0 TSI COMFORTLINE

Array ( [vehicleid] => Array ( [0] => 28531561 ) [dumpdate] => Array ( [0] => 2025-11-08T15:53:47.023 ) [mmcode] => Array ( [0] => 64030160 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071440 ) [stockbooknumber] => Array ( [0] => U0071440 ) [vinnumber] => Array ( [0] => WVGZZZC1ZPY035733 ) [regnumber] => Array ( [0] => DH3SIRZN ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => T-CROSS ) [vehiclemodel] => Array ( [0] => MY21 1.0 TSI COMFORTLINE ) [vehicleyear] => Array ( [0] => 2023 ) [bodytype] => Array ( [0] => CROSSOVER ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => Reef Blue ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 55000 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => 70kW @ 5000 r/min | 130 CO2 Emissions | 5-speed manual | Fuel Consumption - 5. 5 l/100km (Combined) | ABS | Belmont Alloys | Mult-function display PLUS | Composition Media | Rest Assist | Light and Sight Vision | LED Daytime running Lights | We Connect Go | Climatic Aircon | Cruise Control | PDC Front and Rear | 3 year / 120 000 kms Warranty | 3 year / 45 000 kms Service Plan. Finance options available with all major banks including Volkswagen Financial Services. The advertised mileage on demo vehicle models may vary from the actual mileage on the vehicles. Please contact the dealership for accurate information. ) [price] => Array ( [0] => 359000 ) [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_u0071440_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071440_10.jpg";} ) [nmi_vehicle_id] => Array ( [0] => WVGZZZC1ZPY035733 ) ) 1
WVGZZZC1ZPY035733
WVGZZZC1ZPY035733
Colour: Reef Blue
MOL01433
28531561

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 359 000
55 000km
2023
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_19.jpg
VOLKSWAGEN
T-CROSS
(2023)

VOLKSWAGEN MY20 1.0 TSI COMFORTLINE DSG

Array ( [vehicleid] => Array ( [0] => 28534431 ) [dumpdate] => Array ( [0] => 2025-11-08T15:53:47.023 ) [mmcode] => Array ( [0] => 64030170 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071439 ) [stockbooknumber] => Array ( [0] => U0071439 ) [vinnumber] => Array ( [0] => WVGZZZC1ZPY056429 ) [regnumber] => Array ( [0] => KVX579NW ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => T-CROSS ) [vehiclemodel] => Array ( [0] => MY20 1.0 TSI COMFORTLINE DSG ) [vehicleyear] => Array ( [0] => 2023 ) [bodytype] => Array ( [0] => CROSSOVER ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => Grey ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 33696 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Extras include Connect package4 alloy wheels "Belmont" 6J x 16Black roof railsPark Distance Control Cruise control system and speed limiterApp-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. Extras include Removable trailer hitchMulti-color Active Info DisplayPARK PACKAGEInfotainment package Composition3Yr 45000km DFLTTrade 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] => 368999 ) [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_u0071439_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_15.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_16.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_17.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_18.jpg";i:18;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071439_19.jpg";} ) [nmi_vehicle_id] => Array ( [0] => WVGZZZC1ZPY056429 ) ) 1
WVGZZZC1ZPY056429
WVGZZZC1ZPY056429
Colour: Grey
MOL01433
28534431

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 368 999
33 696km
2023
AUTOMATIC
More details