Shop . Click . Drive
<?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,
            }
        }
    });
});
1
Pre-Owned

VOLKSWAGEN 1.4 COMFORTLINE (2012)

R 169 950
Description
Mileage
54477 km
Year
Fuel Type
UNLEADED
Exterior Colour
WHITE
Transmission
MANUAL
VIN
Vehicle ID
28129436
Features
Range
POLO
Mileage
54 477 km
Year
2012
Colour
WHITE
Transmission
MANUAL
Fuel
UNLEADED
Body Type
HATCH
Doors
5
Service History
None
Vin No.
AAVZZZ6RZCU052627
Comments

Finance Calculator

Car Loan Calculator with balloon
%
Years
%

Estimated Payment

R/month

Car Price

R

Principal
R
Car Loan Calculator with balloon
%
Years
%

Estimated Payment

R/month

Car Price

R

Principal
R
Contact Person
Contact Email
<?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 169 950
MSRP
Vehicle Enquiry
Back to search results
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071088_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071088_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071088_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071088_4.jpg
VOLKSWAGEN
POLO VIVO
(2024)

VOLKSWAGEN HATCH 1.4 TRENDLINE

R 179 950
93 125 km
2024
MANUAL
UNLEADED
PURE WHITE
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071089_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071089_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071089_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071089_4.jpg
VOLKSWAGEN
POLO VIVO
(2024)

VOLKSWAGEN HATCH 1.4 TRENDLINE

R 179 950
76 056 km
2024
MANUAL
UNLEADED
PURE WHITE
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_8.jpg
VOLKSWAGEN
POLO
(2015)

VOLKSWAGEN 1.2 TSI HIGHLINE DSG

R 179 950
155 019 km
2015
AUTOMATIC
UNLEADED
SILVER
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071090_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071090_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071090_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071090_4.jpg
VOLKSWAGEN
POLO VIVO
(2024)

VOLKSWAGEN HATCH 1.4 TRENDLINE

R 179 950
89 363 km
2024
MANUAL
UNLEADED
PURE WHITE
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071088_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071088_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071088_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071088_4.jpg
R 179 950
VOLKSWAGEN
POLO VIVO
(2024)

VOLKSWAGEN HATCH 1.4 TRENDLINE

USED
2024
93 125 km
MANUAL
UNLEADED
PURE WHITE
R 179 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071089_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071089_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071089_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071089_4.jpg
R 179 950
VOLKSWAGEN
POLO VIVO
(2024)

VOLKSWAGEN HATCH 1.4 TRENDLINE

USED
2024
76 056 km
MANUAL
UNLEADED
PURE WHITE
R 179 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070840_8.jpg
R 179 950
VOLKSWAGEN
POLO
(2015)

VOLKSWAGEN 1.2 TSI HIGHLINE DSG

USED
2015
155 019 km
AUTOMATIC
UNLEADED
SILVER
R 179 950
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071090_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071090_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071090_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071090_4.jpg
R 179 950
VOLKSWAGEN
POLO VIVO
(2024)

VOLKSWAGEN HATCH 1.4 TRENDLINE

USED
2024
89 363 km
MANUAL
UNLEADED
PURE WHITE
R 179 950