<?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 1.5 XR AT

R 299 900
Range:
STARLET
Year:
2025
Mileage:
12 603 km
Colour:
Mystic Pearl Wh
Transmission:
AUTOMATIC
Fuel:
UNLEADED
Vehicle ID:
29073284
Description

Experience the thrill of driving with this exceptional demo vehicle. It’s designed to turn heads and deliver an unmatched driving experience. A roadworthy inspection and an Automark inspection have been completed, ensuring quality and reliability.

This vehicle offers a perfect blend of style and functionality. Whether you’re navigating city streets or hitting the open road, it excels in performance. Trade-ins are welcome, and friendly sales executives are ready to assist with your needs. Finance options are available to make ownership easy. Enjoy nationwide delivery for your convenience.

Mileage is recorded at the time of advertising and may vary.

Key highlights:
– Demo vehicle in pristine condition
– Roadworthy and Automark inspections completed
– Exceptional driving experience
– Trade-ins welcome
– Friendly, professional sales support
– Finance options available
– Nationwide delivery offered

Trust in NMI for quality, service, and support.

Available from NMI Toyota Middelburg
<?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 - Satellite

Similar Listings 

https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u0070114_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u0070114_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u0070114_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u0070114_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u0070114_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u0070114_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u0070114_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u0070114_8.jpg
TOYOTA
STARLET
(2025)

TOYOTA 1.5 Xs

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00943057
JTDJWCA3S00943057
Colour: Shadow Grey
MOL01643
29073360

Enquire

Contact Form - Satellite
<?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 239 900
28479km
2025
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24940_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24940_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24940_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24940_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24940_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24940_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24940_7.jpg
TOYOTA
STARLET
(2026)

TOYOTA 1.5 Xi

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00A95079
JTDJWCA3S00A95079
Colour: Mystic Pearl Wh
MOL01643
29075057

Enquire

Contact Form - Satellite
<?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 239 900
10788km
2026
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24946_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24946_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24946_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24946_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24946_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24946_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24946_7.jpg
TOYOTA
STARLET
(2026)

TOYOTA 1.5 Xs

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00941292
JTDJWCA3S00941292
Colour: Mystic Pearl Wh
MOL01643
29075059

Enquire

Contact Form - Satellite
<?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 244 900
7810km
2026
MANUAL
More details
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24902_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24902_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24902_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24902_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24902_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24902_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01643_u24902_7.jpg
TOYOTA
STARLET
(2025)

TOYOTA 1.5 Xs AT

<?php
  
   $post_id = get_the_id();
$post_meta = get_post_meta($post_id);
  echo print_r($post_meta);
  ?>
JTDJWCA3S00A56527
JTDJWCA3S00A56527
Colour: silver
MOL01643
29073290

Enquire

Contact Form - Satellite
<?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 258 899
11772km
2025
AUTOMATIC
More details