<?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, } } }); });
SUZUKI SWIFT (2023)
SUZUKI 1.2I GL AMT
R 199 950
Range:
SWIFT
Year:
2023
Mileage:
20 540km
Colour:
RED
Transmission:
AUTOMATIC
Fuel:
UNLEADED
Vehicle ID:
28185858
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"); } } ?>
Similar Listings

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_8.jpg
SUZUKI
SWIFT
(2024)
SUZUKI 1.2 GLX
Array
(
[vehicleid] => Array
(
[0] => 28186261
)
[dumpdate] => Array
(
[0] => 2025-09-01T14:50:34.377
)
[mmcode] => Array
(
[0] => 59007090
)
[molstockbooknumber] => Array
(
[0] => MOL01400_U0070625
)
[stockbooknumber] => Array
(
[0] => U0070625
)
[vinnumber] => Array
(
[0] => MBHCZC63S00D95084
)
[regnumber] => Array
(
[0] => LV96JYGP
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => SUZUKI
)
[vehiclerange] => Array
(
[0] => SWIFT
)
[vehiclemodel] => Array
(
[0] => 1.2 GLX
)
[vehicleyear] => Array
(
[0] => 2024
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => ORANGE
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 39182
)
[servicehistory] => Array
(
[0] => None
)
[comments] => Array
(
[0] =>
)
[price] => Array
(
[0] => 219799
)
[dealershipid] => Array
(
[0] => 10
)
[molnumber] => Array
(
[0] => MOL01400
)
[dealershipname] => Array
(
[0] => Barons Woodmead
)
[pictures] => Array
(
[0] => a:8:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01400_u0070625_8.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => MBHCZC63S00D95084
)
)
1
MBHCZC63S00D95084
MBHCZC63S00D95084
Colour: ORANGE
MOL01400
28186261
28186261
Enquire
<?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"); } } ?>

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_9.jpg
SUZUKI
SWIFT
(2024)
SUZUKI 1.2I GL AMT
Array
(
[vehicleid] => Array
(
[0] => 28186212
)
[dumpdate] => Array
(
[0] => 2025-09-01T14:53:32.19
)
[mmcode] => Array
(
[0] => 59007101
)
[molstockbooknumber] => Array
(
[0] => MOL01386_U0070991
)
[stockbooknumber] => Array
(
[0] => U0070991
)
[vinnumber] => Array
(
[0] => MBHCZC63S00D56027
)
[regnumber] => Array
(
[0] => LM78CVGP
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => SUZUKI
)
[vehiclerange] => Array
(
[0] => SWIFT
)
[vehiclemodel] => Array
(
[0] => 1.2I GL AMT
)
[vehicleyear] => Array
(
[0] => 2024
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => SILVER
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 22746
)
[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] => 219950
)
[dealershipid] => Array
(
[0] => 51
)
[molnumber] => Array
(
[0] => MOL01386
)
[dealershipname] => Array
(
[0] => Barons Cape Town
)
[pictures] => Array
(
[0] => a:9:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070991_9.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => MBHCZC63S00D56027
)
)
1
MBHCZC63S00D56027
MBHCZC63S00D56027
Colour: SILVER
MOL01386
28186212
28186212
Enquire
<?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"); } } ?>

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_24.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_25.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_26.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_27.jpg
SUZUKI
SWIFT
(2024)
SUZUKI 1.2I GL AMT
Array
(
[vehicleid] => Array
(
[0] => 28186465
)
[dumpdate] => Array
(
[0] => 2025-09-01T14:53:32.19
)
[mmcode] => Array
(
[0] => 59007101
)
[molstockbooknumber] => Array
(
[0] => MOL01443_U0070924
)
[stockbooknumber] => Array
(
[0] => U0070924
)
[vinnumber] => Array
(
[0] => MBHCZC63S00E28722
)
[regnumber] => Array
(
[0] => LW07KRGP
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => SUZUKI
)
[vehiclerange] => Array
(
[0] => SWIFT
)
[vehiclemodel] => Array
(
[0] => 1.2I GL AMT
)
[vehicleyear] => Array
(
[0] => 2024
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => White
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 21500
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => At VW MasterCars Barons Bruma we understand how important buying a vehicle is for our customers. And we go out of our way to ensure we deliver to the standards you would expect. We design a package around your budget. all prices exclude administration, delivery and licence and registration fees. Prices subject to change without prior notice. Test drives and Trade-ins welcome. Finance available through all major banks. Finance is subject to bank approvals. Optional warranty and service plans/maintenance pl
)
[price] => Array
(
[0] => 222500
)
[dealershipid] => Array
(
[0] => 11
)
[molnumber] => Array
(
[0] => MOL01443
)
[dealershipname] => Array
(
[0] => Barons Bruma
)
[pictures] => Array
(
[0] => a:27:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_15.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_16.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_17.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_18.jpg";i:18;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_19.jpg";i:19;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_20.jpg";i:20;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_21.jpg";i:21;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_22.jpg";i:22;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_23.jpg";i:23;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_24.jpg";i:24;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_25.jpg";i:25;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_26.jpg";i:26;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070924_27.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => MBHCZC63S00E28722
)
)
1
MBHCZC63S00E28722
MBHCZC63S00E28722
Colour: White
MOL01443
28186465
28186465
Enquire
<?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"); } } ?>

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_24.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_25.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_26.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_27.jpg
SUZUKI
SWIFT
(2024)
SUZUKI 1.2I GL AMT
Array
(
[vehicleid] => Array
(
[0] => 28185370
)
[dumpdate] => Array
(
[0] => 2025-09-01T14:53:32.19
)
[mmcode] => Array
(
[0] => 59007101
)
[molstockbooknumber] => Array
(
[0] => MOL01443_U0070915
)
[stockbooknumber] => Array
(
[0] => U0070915
)
[vinnumber] => Array
(
[0] => MBHCZC63S00E25469
)
[regnumber] => Array
(
[0] => LW09FWGP
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => SUZUKI
)
[vehiclerange] => Array
(
[0] => SWIFT
)
[vehiclemodel] => Array
(
[0] => 1.2I GL AMT
)
[vehicleyear] => Array
(
[0] => 2024
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => White
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 23500
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => At VW MasterCars Barons Bruma we understand how important buying a vehicle is for our customers. And we go out of our way to ensure we deliver to the standards you would expect. We design a package around your budget. all prices exclude administration, delivery and licence and registration fees. Prices subject to change without prior notice. Test drives and Trade-ins welcome. Finance available through all major banks. Finance is subject to bank approvals. Optional warranty and service plans/maintenance pl
)
[price] => Array
(
[0] => 222500
)
[dealershipid] => Array
(
[0] => 11
)
[molnumber] => Array
(
[0] => MOL01443
)
[dealershipname] => Array
(
[0] => Barons Bruma
)
[pictures] => Array
(
[0] => a:27:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_15.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_16.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_17.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_18.jpg";i:18;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_19.jpg";i:19;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_20.jpg";i:20;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_21.jpg";i:21;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_22.jpg";i:22;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_23.jpg";i:23;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_24.jpg";i:24;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_25.jpg";i:25;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_26.jpg";i:26;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070915_27.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => MBHCZC63S00E25469
)
)
1
MBHCZC63S00E25469
MBHCZC63S00E25469
Colour: White
MOL01443
28185370
28185370
Enquire
<?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"); } } ?>