<?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 950
Range:
POLO
Year:
2025
Mileage:
3 000km
Colour:
REFLEX SILVER METALLIC
Transmission:
MANUAL
Fuel:
UNLEADED
Vehicle ID:
28227628
Available from Barons Durban
<?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/mol01182_u0070840_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_8.jpg
VOLKSWAGEN
POLO
(2015)

VOLKSWAGEN 1.2 TSI HIGHLINE DSG

Array ( [vehicleid] => Array ( [0] => 28233101 ) [dumpdate] => Array ( [0] => 2025-09-09T12:50:28.087 ) [mmcode] => Array ( [0] => 64027696 ) [molstockbooknumber] => Array ( [0] => MOL01182_U0070840 ) [stockbooknumber] => Array ( [0] => U0070840 ) [vinnumber] => Array ( [0] => AAVZZZ6RZFU058187 ) [regnumber] => Array ( [0] => BZ17BPZN ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => 1.2 TSI HIGHLINE DSG ) [vehicleyear] => Array ( [0] => 2015 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => SILVER ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 155200 ) [servicehistory] => Array ( [0] => None ) [comments] => Array ( [0] => Optional Extras Included - Leather Seats - Radio - Electric Windows - Multi Function Steering Wheel - Fog Lamps - Finance Done with all major banks ) [price] => Array ( [0] => 189950 ) [dealershipid] => Array ( [0] => 35 ) [molnumber] => Array ( [0] => MOL01182 ) [dealershipname] => Array ( [0] => Barons Durban ) [pictures] => Array ( [0] => a:8:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_8.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6RZFU058187 ) ) 1
AAVZZZ6RZFU058187
AAVZZZ6RZFU058187
Colour: SILVER
MOL01182
28233101

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 189 950
155 200km
2015
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_11.jpg
VOLKSWAGEN
POLO
(2020)

VOLKSWAGEN 1.0 TSI COMFORTLINE

Array ( [vehicleid] => Array ( [0] => 28232516 ) [dumpdate] => Array ( [0] => 2025-09-09T12:50:28.087 ) [mmcode] => Array ( [0] => 64027664 ) [molstockbooknumber] => Array ( [0] => MOL01182_U0070800 ) [stockbooknumber] => Array ( [0] => U0070800 ) [vinnumber] => Array ( [0] => AAVZZZAWZLU000803 ) [regnumber] => Array ( [0] => CC36RFZN ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => 1.0 TSI COMFORTLINE ) [vehicleyear] => Array ( [0] => 2020 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => WHITE ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 114909 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Optional extras included - APP Connect - Mobile phone interface - Alloy Wheels - Light + Sight Package - USB interfaces. - 8' Touchscreen Radio/CD Composition - Finance Done with all Major Banks ) [price] => Array ( [0] => 209950 ) [dealershipid] => Array ( [0] => 35 ) [molnumber] => Array ( [0] => MOL01182 ) [dealershipname] => Array ( [0] => Barons Durban ) [pictures] => Array ( [0] => a:8:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_9.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070800_11.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZAWZLU000803 ) ) 1
AAVZZZAWZLU000803
AAVZZZAWZLU000803
Colour: WHITE
MOL01182
28232516

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 209 950
114 909km
2020
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_8.jpg
VOLKSWAGEN
POLO
(2020)

VOLKSWAGEN 1.0 TSI COMFORTLINE

Array ( [vehicleid] => Array ( [0] => 28232518 ) [dumpdate] => Array ( [0] => 2025-09-09T12:50:28.087 ) [mmcode] => Array ( [0] => 64027664 ) [molstockbooknumber] => Array ( [0] => MOL01182_U0070802 ) [stockbooknumber] => Array ( [0] => U0070802 ) [vinnumber] => Array ( [0] => AAVZZZAWZLU001324 ) [regnumber] => Array ( [0] => CC36RDZN ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => 1.0 TSI COMFORTLINE ) [vehicleyear] => Array ( [0] => 2020 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => WHITE ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 103052 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Optional extras included - APP Connect - Mobile phone interface - Alloy Wheels - Light + Sight Package - USB interfaces. - 8' Touchscreen Radio/CD Composition - Finance Done with all Major Banks ) [price] => Array ( [0] => 209950 ) [dealershipid] => Array ( [0] => 35 ) [molnumber] => Array ( [0] => MOL01182 ) [dealershipname] => Array ( [0] => Barons Durban ) [pictures] => Array ( [0] => a:7:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_5.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_6.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_7.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070802_8.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZAWZLU001324 ) ) 1
AAVZZZAWZLU001324
AAVZZZAWZLU001324
Colour: WHITE
MOL01182
28232518

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 209 950
103 052km
2020
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_24.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_25.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_26.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_27.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_28.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_29.jpg
VOLKSWAGEN
POLO
(2025)

VOLKSWAGEN VIVO HATCH MY25 1.4

Array ( [vehicleid] => Array ( [0] => 28227658 ) [dumpdate] => Array ( [0] => 2025-09-09T12:50:28.087 ) [mmcode] => Array ( [0] => 64020701 ) [molstockbooknumber] => Array ( [0] => MOL01182_U0070764 ) [stockbooknumber] => Array ( [0] => U0070764 ) [vinnumber] => Array ( [0] => AAVZZZ6R0SU012156 ) [regnumber] => Array ( [0] => PERMIT 2 ) [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] => SMOKY GREY METALLIC ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 36 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Optional Extras Included - Front Electric Windows - Alloy Wheels- Multi Function Steering Wheel - Fog Lamps - Radio A Multi Award winning flagship at the heart of KZN. We offer nationwide deliveries or an option to make it a holiday and fly to us to experience our amazing city with beautiful beaches and amazing weather. Experience exceptional customer service and professionalism from our qualified sales executives and management team. All ads are subject to inhouse finance, excludes extras and fe ) [price] => Array ( [0] => 235950 ) [dealershipid] => Array ( [0] => 35 ) [molnumber] => Array ( [0] => MOL01182 ) [dealershipname] => Array ( [0] => Barons Durban ) [pictures] => Array ( [0] => a:29:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_15.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_16.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_17.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_18.jpg";i:18;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_19.jpg";i:19;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_20.jpg";i:20;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_21.jpg";i:21;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_22.jpg";i:22;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_23.jpg";i:23;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_24.jpg";i:24;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_25.jpg";i:25;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_26.jpg";i:26;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_27.jpg";i:27;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_28.jpg";i:28;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070764_29.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6R0SU012156 ) ) 1
AAVZZZ6R0SU012156
AAVZZZ6R0SU012156
Colour: SMOKY GREY METALLIC
MOL01182
28227658

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 235 950
36km
2025
MANUAL
More details