<?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,
            }
        }
    });
});
TOYOTA HILUX (2018)

TOYOTA 2.0 VVTi A/C

R 248 999
Range:
HILUX
Year:
2018
Mileage:
193 279km
Colour:
White
Transmission:
MANUAL
Fuel:
UNLEADED
Vehicle ID:
28203622
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_u0071280_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_12.jpg
TOYOTA
HILUX
(2020)

TOYOTA 2.4 GD-6 4X4 SRX AT

Array ( [vehicleid] => Array ( [0] => 28204933 ) [dumpdate] => Array ( [0] => 2025-09-04T02:35:33.123 ) [mmcode] => Array ( [0] => 60039196 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071280 ) [stockbooknumber] => Array ( [0] => U0071280 ) [vinnumber] => Array ( [0] => AHTKB8CBX02858453 ) [regnumber] => Array ( [0] => JMR620EC ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => TOYOTA ) [vehiclerange] => Array ( [0] => HILUX ) [vehiclemodel] => Array ( [0] => 2.4 GD-6 4X4 SRX AT ) [vehicleyear] => Array ( [0] => 2020 ) [bodytype] => Array ( [0] => SINGLE CAB ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => DIESEL ) [colour] => Array ( [0] => White ) [numberofdoors] => Array ( [0] => 2 ) [mileage] => Array ( [0] => 203691 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => A super-economical four-cylinder, 2.4l turbodiesel engine producing 110 kW of power @ 3 400 r/min and maximum torque of 400 Nm of torque between 1 600-2 000 r/min ) [price] => Array ( [0] => 378999 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:11:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_3.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_4.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_5.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_6.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_7.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_8.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_9.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_10.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_11.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071280_12.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AHTKB8CBX02858453 ) ) 1
AHTKB8CBX02858453
AHTKB8CBX02858453
Colour: White
MOL01433
28204933

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 378 999
203 691km
2020
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_7.jpg
TOYOTA
HILUX
(2019)

TOYOTA 2.4 GD-6 D/CAB RB SRX AT

Array ( [vehicleid] => Array ( [0] => 28203620 ) [dumpdate] => Array ( [0] => 2025-09-04T02:38:11.347 ) [mmcode] => Array ( [0] => 60039245 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071338 ) [stockbooknumber] => Array ( [0] => U0071338 ) [vinnumber] => Array ( [0] => AHTJB8DD504761287 ) [regnumber] => Array ( [0] => CAA14966 ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => TOYOTA ) [vehiclerange] => Array ( [0] => HILUX ) [vehiclemodel] => Array ( [0] => 2.4 GD-6 D/CAB RB SRX AT ) [vehicleyear] => Array ( [0] => 2019 ) [bodytype] => Array ( [0] => DOUBLE CAB ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => DIESEL ) [colour] => Array ( [0] => White ) [numberofdoors] => Array ( [0] => 4 ) [mileage] => Array ( [0] => 138500 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Reliable and efficient 2.4 L turbo diesel with 400 Nm torque and smooth auto gearboxWell-equipped interior: multimedia with Apple CarPlay/Android Auto, comfort features, and cabin utilityAdvanced safety suite with seven airbags and electronic aidsRobust off-road ability: 4×4 selectable drive, LSD, hill/trailer systemsGood warranty & service backing, plus telematics connectivity ) [price] => Array ( [0] => 399000 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:7:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071338_7.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AHTJB8DD504761287 ) ) 1
AHTJB8DD504761287
AHTJB8DD504761287
Colour: White
MOL01433
28203620

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 399 000
138 500km
2019
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_10.jpg
TOYOTA
HILUX
(2019)

TOYOTA 2.4 GD-6 D/CAB 4X4 SRX AT

Array ( [vehicleid] => Array ( [0] => 28199996 ) [dumpdate] => Array ( [0] => 2025-09-04T02:35:33.123 ) [mmcode] => Array ( [0] => 60039256 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071353 ) [stockbooknumber] => Array ( [0] => U0071353 ) [vinnumber] => Array ( [0] => AHTKB8CD902974146 ) [regnumber] => Array ( [0] => JF55ZXGP ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => TOYOTA ) [vehiclerange] => Array ( [0] => HILUX ) [vehiclemodel] => Array ( [0] => 2.4 GD-6 D/CAB 4X4 SRX AT ) [vehicleyear] => Array ( [0] => 2019 ) [bodytype] => Array ( [0] => DOUBLE CAB ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => DIESEL ) [colour] => Array ( [0] => White ) [numberofdoors] => Array ( [0] => 4 ) [mileage] => Array ( [0] => 221403 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Reliable and efficient 2.4 L turbo diesel with 400 Nm torque and smooth auto gearboxWell-equipped interior: multimedia with Apple CarPlay/Android Auto, comfort features, and cabin utilityAdvanced safety suite with seven airbags and electronic aidsRobust off-road ability: 4×4 selectable drive, LSD, hill/trailer systemsGood warranty & service backing, plus telematics connectivity ) [price] => Array ( [0] => 434999 ) [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_u0071353_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071353_10.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AHTKB8CD902974146 ) ) 1
AHTKB8CD902974146
AHTKB8CD902974146
Colour: White
MOL01433
28199996

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 434 999
221 403km
2019
AUTOMATIC
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_6.jpg
TOYOTA
HILUX
(2020)

TOYOTA 2.4 GD-6 D/CAB 4X4 SRX AT

Array ( [vehicleid] => Array ( [0] => 28199994 ) [dumpdate] => Array ( [0] => 2025-09-04T02:35:33.123 ) [mmcode] => Array ( [0] => 60039256 ) [molstockbooknumber] => Array ( [0] => MOL01433_U0071351 ) [stockbooknumber] => Array ( [0] => U0071351 ) [vinnumber] => Array ( [0] => AHTKB8CD902976379 ) [regnumber] => Array ( [0] => JL88FPGP ) [uploadtype] => Array ( [0] => USED ) [vehiclemake] => Array ( [0] => TOYOTA ) [vehiclerange] => Array ( [0] => HILUX ) [vehiclemodel] => Array ( [0] => 2.4 GD-6 D/CAB 4X4 SRX AT ) [vehicleyear] => Array ( [0] => 2020 ) [bodytype] => Array ( [0] => DOUBLE CAB ) [transmissiontype] => Array ( [0] => AUTOMATIC ) [fueltype] => Array ( [0] => DIESEL ) [colour] => Array ( [0] => White ) [numberofdoors] => Array ( [0] => 4 ) [mileage] => Array ( [0] => 197593 ) [servicehistory] => Array ( [0] => Full ) [comments] => Array ( [0] => Reliable and efficient 2.4 L turbo diesel with 400 Nm torque and smooth auto gearboxWell-equipped interior: multimedia with Apple CarPlay/Android Auto, comfort features, and cabin utilityAdvanced safety suite with seven airbags and electronic aidsRobust off-road ability: 4×4 selectable drive, LSD, hill/trailer systemsGood warranty & service backing, plus telematics connectivity ) [price] => Array ( [0] => 439000 ) [dealershipid] => Array ( [0] => 52 ) [molnumber] => Array ( [0] => MOL01433 ) [dealershipname] => Array ( [0] => Barons N1 City ) [pictures] => Array ( [0] => a:6:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071351_6.jpg";} ) [nmi_vehicle_id] => Array ( [0] => AHTKB8CD902976379 ) ) 1
AHTKB8CD902976379
AHTKB8CD902976379
Colour: White
MOL01433
28199994

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 439 000
197 593km
2020
AUTOMATIC
More details