<?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 2.0 GX 4X2 CVT (2017)
R 269 950
Description
Mileage
120305 km
Year
Fuel Type
UNLEADED
Exterior Colour
GREY
Transmission
AUTOMATIC
VIN
Vehicle ID
28131774
Features
Range
RAV4
Mileage
120 305 km
Year
2017
Colour
GREY
Transmission
AUTOMATIC
Fuel
UNLEADED
Body Type
STATION WAGON
Doors
5
Service History
Full
Vin No.
JTMZD3EV80J106336
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 269 950
MSRP
Call Now
Available from Barons Pietermaritzburg
9 Armitage Rd, Town Hill, Pietermaritzburg, 3201, South Africa
Back to search results

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_14.jpg
TOYOTA
RAV4
(2017)
TOYOTA 2.0 GX 4X2 CVT
R 259 900
154 000 km
2017
AUTOMATIC
UNLEADED
SILVER

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_13.jpg
TOYOTA
RAV4
(2017)
TOYOTA 2.0 GX 4X2 CVT
R 269 900
135 808 km
2017
AUTOMATIC
UNLEADED
SilverME(1D6)

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_14.jpg
TOYOTA
RAV4
(2017)
TOYOTA 2.0 GX 4X2 CVT
R 269 900
151 121 km
2017
AUTOMATIC
UNLEADED
SilverME(1D6)

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_8.jpg
TOYOTA
RAV4
(2020)
TOYOTA 2.0 GX 4X2
R 369 900
77 420 km
2020
MANUAL
UNLEADED
Grey Metallic 1G3

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070082_14.jpg
USED
2017
154 000 km
AUTOMATIC
UNLEADED
SILVER
R 259 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070305_13.jpg
USED
2017
135 808 km
AUTOMATIC
UNLEADED
SilverME(1D6)
R 269 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/tol00005_u0070135_14.jpg
USED
2017
151 121 km
AUTOMATIC
UNLEADED
SilverME(1D6)
R 269 900

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01642_u0070234_8.jpg
USED
2020
77 420 km
MANUAL
UNLEADED
Grey Metallic 1G3
R 369 900