<?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 HATCH MY22 1.0 TSI

R 329 989
Range:
POLO
Year:
2025
Mileage:
8 000km
Colour:
REEF BLUE METALLIC
Transmission:
MANUAL
Fuel:
UNLEADED
Vehicle ID:
28534216
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_u0071469_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_18.jpg
VOLKSWAGEN
POLO
(2017)

VOLKSWAGEN 1.2 TSI TRENDLINE

Array ( [vehicleid] => Array ( [0] => 28529358 ) [dumpdate] => Array ( [0] => 2025-11-08T15:50:30.757 ) [mmcode] => Array ( [0] => 64027660 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071469 ) [stockbooknumber] => Array ( [0] => U0071469 ) [vinnumber] => Array ( [0] => AAVZZZ6RZHU037446 ) [regnumber] => Array ( [0] => CY55471 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => VOLKSWAGEN ) [vehiclerange] => Array ( [0] => POLO ) [vehiclemodel] => Array ( [0] => 1.2 TSI TRENDLINE ) [vehicleyear] => Array ( [0] => 2017 ) [bodytype] => Array ( [0] => HATCH ) [transmissiontype] => Array ( [0] => MANUAL ) [fueltype] => Array ( [0] => UNLEADED ) [colour] => Array ( [0] => Blue Silk ) [numberofdoors] => Array ( [0] => 5 ) [mileage] => Array ( [0] => 86056 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => The standard features include: Central locking system without SAFELOCK, radio remote control and 2 remote control folding keys, Dust and pollen filter, Hill hold control, Illuminated vanity mirrors in sun visors, Power windows front, and mechanical window regulators rear. Radio, 4 Speakers, Combined curtain and side airbags, front Driver's and front passenger airbag with front passenger airbag deactivation, Electronic stability control incl. ABS with brake assist system, ASR, EDL and EDTC, ISOFIX anchorage points (mounting fixture for 2 child seats on rear seat bench). ) [price] => Array ( [0] => 179000 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:18:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_15.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_16.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_17.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_18.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AAVZZZ6RZHU037446 ) ) 1
AAVZZZ6RZHU037446
AAVZZZ6RZHU037446
Colour: Blue Silk
MOL01433
28529358

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 179 000
86 056km
2017
MANUAL
More details
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] => 28534392 ) [dumpdate] => Array ( [0] => 2025-11-08T15:50:30.757 ) [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] => 8000 ) [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. Unleash the joy of driving with our demo model 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. ) [price] => Array ( [0] => 248999 ) [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
28534392

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 248 999
8 000km
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] => 28532885 ) [dumpdate] => Array ( [0] => 2025-11-08T15:50:30.757 ) [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] => Full ) [comments] => Array ( [0] => Extras include:•15” Ubomi Alloy wheels•Twin headlamps with integrated high beam•Daytime Running LightsTrade 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. Unleash the joy of driving with our demo model 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. ) [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
28532885

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] => 28534339 ) [dumpdate] => Array ( [0] => 2025-11-08T15:50:30.757 ) [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. Extras include:•15” Ubomi Alloy wheels•Twin headlamps with integrated high beam•Daytime Running LightsTrade 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: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
28534339

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