<?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
TOYOTA 1.8 CVT (2022)
R 239 900
Description
Mileage
100120 km
Year
Fuel Type
UNLEADED
Exterior Colour
Oxide Bronze (6
Transmission
AUTOMATIC
VIN
Vehicle ID
28130692
Features
Range
COROLLA
Mileage
100 120 km
Year
2022
Colour
Oxide Bronze (6
Transmission
AUTOMATIC
Fuel
UNLEADED
Body Type
SEDAN
Doors
4
Service History
None
Vin No.
AHTBF8JE301017257
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 239 900
MSRP
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_16.jpg
TOYOTA
COROLLA
(2021)
TOYOTA 1.8
R 209 950
79 750 km
2021
MANUAL
UNLEADED
Glacier White (040)

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_14.jpg
TOYOTA
COROLLA
(2021)
TOYOTA 1.8
R 248 999
72 222 km
2021
MANUAL
UNLEADED
Bronze

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_13.jpg
TOYOTA
COROLLA
(2023)
TOYOTA 1.8 CVT
R 259 900
35 358 km
2023
AUTOMATIC
UNLEADED
White

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_12.jpg
TOYOTA
COROLLA
(2020)
TOYOTA 1.8 EXCLUSIVE CVT
R 259 950
56 015 km
2020
AUTOMATIC
UNLEADED
Crimson Spark R

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0070885_16.jpg
USED
2021
79 750 km
MANUAL
UNLEADED
Glacier White (040)
R 209 950

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071240_14.jpg
USED
2021
72 222 km
MANUAL
UNLEADED
Bronze
R 248 999

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01645_u0070488_13.jpg
USED
2023
35 358 km
AUTOMATIC
UNLEADED
White
R 259 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01651_u23046_12.jpg
USED
2020
56 015 km
AUTOMATIC
UNLEADED
Crimson Spark R
R 259 950