<?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, } } }); });
Pre-Owned
VOLKSWAGEN 3.0 TDI D/CAB HIGHLINE 4MOTION AT (2018)
R 449 900
Description
Mileage
131684 km
Year
Fuel Type
DIESEL
Exterior Colour
WHITE
Transmission
AUTOMATIC
VIN
Vehicle ID
28382067
Features
Range
AMAROK
Mileage
131 684 km
Year
2018
Colour
WHITE
Transmission
AUTOMATIC
Fuel
DIESEL
Body Type
DOUBLE CAB
Doors
4
Service History
None
Vin No.
WV1ZZZ2HZJA006815
Comments
<?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"); } } ?>
Back to search results
R 449 900
MSRP
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070079_14.jpg
USED
2022
146 000 km
AUTOMATIC
DIESEL
White
R 459 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_ud0050176_20.jpg
DEMO
2025
27 000 km
MANUAL
DIESEL
WHITE
R 479 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01443_u0070909_24.jpg
USED
2022
178 000 km
AUTOMATIC
DIESEL
ATLANTIC BLUE METALL
R 485 500

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_20.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_24.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_25.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01343_u0070698_26.jpg
USED
2021
86 320 km
AUTOMATIC
DIESEL
Grey
R 489 950