VOLKSWAGEN T-CROSS (2022)
VOLKSWAGEN MY21 1.0 TSI COMFORTLINE
R 259 990
Range:
T-CROSS
Year:
2022
Mileage:
87 000km
Colour:
REEF BLUE METALLIC
Transmission:
MANUAL
Fuel:
UNLEADED
Vehicle ID:
28777860
Available from Barons Woodmead
<?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");
}
}
?>Similar Listings
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_8.jpg
VOLKSWAGEN
T-CROSS
(2019)
VOLKSWAGEN MY20 1.0 TSI COMFORTLINE DSG
Array
(
[vehicleid] => Array
(
[0] => 28778413
)
[dumpdate] => Array
(
[0] => 2026-01-09T14:54:18.267
)
[mmcode] => Array
(
[0] => 64030170
)
[molstockbooknumber] => Array
(
[0] => MOL01182_U0071000
)
[stockbooknumber] => Array
(
[0] => U0071000
)
[vinnumber] => Array
(
[0] => WVGZZZC1ZLY000417
)
[regnumber] => Array
(
[0] => BM39FZZN
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => T-CROSS
)
[vehiclemodel] => Array
(
[0] => MY20 1.0 TSI COMFORTLINE DSG
)
[vehicleyear] => Array
(
[0] => 2019
)
[bodytype] => Array
(
[0] => CROSSOVER
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => GREY
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 174000
)
[servicehistory] => Array
(
[0] => None
)
[comments] => Array
(
[0] => Optional Extras Included - Electric Windows - multi Function Steering Wheel- Alloy Wheels- Radio- fog lamps - Finance don with all major banks
All VW Vehicles are sold with the balance of their Manufacturer Warranty or Maintenance Plans All our cars are sold with a certified 80 point Check and supported by the relevant manufactures workshop Our finance department specialize in deal structuring and are able to Tailor your finance application to your specific requirements We offer country wide delivery at an agreed price Our team of Certified Sales Executives are available to help structure and conclude your vehicle purchase
)
[price] => Array
(
[0] => 269950
)
[dealershipid] => Array
(
[0] => 35
)
[molnumber] => Array
(
[0] => MOL01182
)
[dealershipname] => Array
(
[0] => Barons Durban
)
[pictures] => Array
(
[0] => a:8:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0070975_8.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZC1ZLY000417
)
)
1
WVGZZZC1ZLY000417
WVGZZZC1ZLY000417
Colour: GREY
MOL01182
28778413
28778413
Enquire
<?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");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_13.jpg
VOLKSWAGEN
T-CROSS
(2021)
VOLKSWAGEN MY21 1.0 TSI COMFORTLINE
Array
(
[vehicleid] => Array
(
[0] => 28778414
)
[dumpdate] => Array
(
[0] => 2026-01-09T14:50:37.41
)
[mmcode] => Array
(
[0] => 64030160
)
[molstockbooknumber] => Array
(
[0] => MOL01182_U0071006
)
[stockbooknumber] => Array
(
[0] => U0071006
)
[vinnumber] => Array
(
[0] => WVGZZZC1ZNY024723
)
[regnumber] => Array
(
[0] => NT24572
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => T-CROSS
)
[vehiclemodel] => Array
(
[0] => MY21 1.0 TSI COMFORTLINE
)
[vehicleyear] => Array
(
[0] => 2021
)
[bodytype] => Array
(
[0] => CROSSOVER
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => PURE WHITE
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 53897
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => Optional Extras Included - Electric Windows - Multi Function Steering Wheel- Radio- Alloy Wheels- Finance Done with all major banks
All VW Vehicles are sold with the balance of their Manufacturer Warranty or Maintenance Plans All our cars are sold with a certified 80 point Check and supported by the relevant manufactures workshop Our finance department specialize in deal structuring and are able to Tailor your finance application to your specific requirements We offer country wide delivery at an agreed price Our team of Certified Sales Executives are available to help structure and conclude your vehicle purchase
)
[price] => Array
(
[0] => 274950
)
[dealershipid] => Array
(
[0] => 35
)
[molnumber] => Array
(
[0] => MOL01182
)
[dealershipname] => Array
(
[0] => Barons Durban
)
[pictures] => Array
(
[0] => a:8:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_3.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_7.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_9.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_10.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_11.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_12.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071006_13.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZC1ZNY024723
)
)
1
WVGZZZC1ZNY024723
WVGZZZC1ZNY024723
Colour: PURE WHITE
MOL01182
28778414
28778414
Enquire
<?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");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_10.jpg
VOLKSWAGEN
T-CROSS
(2020)
VOLKSWAGEN MY20 1.0 TSI COMFORTLINE DSG
Array
(
[vehicleid] => Array
(
[0] => 28778602
)
[dumpdate] => Array
(
[0] => 2026-01-09T14:53:52.033
)
[mmcode] => Array
(
[0] => 64030170
)
[molstockbooknumber] => Array
(
[0] => MOL01386_U0071308
)
[stockbooknumber] => Array
(
[0] => U0071308
)
[vinnumber] => Array
(
[0] => WVGZZZC1ZMY008247
)
[regnumber] => Array
(
[0] => NICCIWP
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => T-CROSS
)
[vehiclemodel] => Array
(
[0] => MY20 1.0 TSI COMFORTLINE DSG
)
[vehicleyear] => Array
(
[0] => 2020
)
[bodytype] => Array
(
[0] => CROSSOVER
)
[transmissiontype] => Array
(
[0] => AUTOMATIC
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => GREY
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 81000
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => Why Choose Us?Full-Service History: All our pre-owned vehicles include a complete service record.80-Point Quality Check: Every vehicle is thoroughly inspected before delivery.Trade-Ins Welcome: Upgrade easily by trading in your current vehicle.Nationwide Delivery: We deliver anywhere in South Africa.Flexible Finance: Hassle-free in-house finance options available.Optional Value-Added Products (not included in listed price):Safety Film (Smash & Grab)Warranty ExtensionPaint ProtectionMaintenance Plan Extens
PARK PACKAGE
Infotainment package Composition Media
)
[price] => Array
(
[0] => 279950
)
[dealershipid] => Array
(
[0] => 51
)
[molnumber] => Array
(
[0] => MOL01386
)
[dealershipname] => Array
(
[0] => Barons Cape Town
)
[pictures] => Array
(
[0] => a:10:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01386_u0071308_10.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZC1ZMY008247
)
)
1
WVGZZZC1ZMY008247
WVGZZZC1ZMY008247
Colour: GREY
MOL01386
28778602
28778602
Enquire
<?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");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_18.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_19.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_21.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_22.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_23.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_24.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_25.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_27.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_28.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_29.jpg
VOLKSWAGEN
T-CROSS
(2022)
VOLKSWAGEN MY21 1.0 TSI COMFORTLINE
Array
(
[vehicleid] => Array
(
[0] => 28778415
)
[dumpdate] => Array
(
[0] => 2026-01-09T14:50:37.41
)
[mmcode] => Array
(
[0] => 64030160
)
[molstockbooknumber] => Array
(
[0] => MOL01182_U0071007
)
[stockbooknumber] => Array
(
[0] => U0071007
)
[vinnumber] => Array
(
[0] => WVGZZZC1ZNY071900
)
[regnumber] => Array
(
[0] => ND905161
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => T-CROSS
)
[vehiclemodel] => Array
(
[0] => MY21 1.0 TSI COMFORTLINE
)
[vehicleyear] => Array
(
[0] => 2022
)
[bodytype] => Array
(
[0] => CROSSOVER
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => REFLEX SILVER METALLIC
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 65134
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => optional extras included- Electric Windows- Multi function Steering wheel- Radio- Alloy Wheels- Finance Done with all major banks
All VW Vehicles are sold with the balance of their Manufacturer Warranty or Maintenance Plans All our cars are sold with a certified 80 point Check and supported by the relevant manufactures workshop Our finance department specialize in deal structuring and are able to Tailor your finance application to your specific requirements We offer country wide delivery at an agreed price Our team of Certified Sales Executives are available to help structure and conclude your vehicle purchase
)
[price] => Array
(
[0] => 284950
)
[dealershipid] => Array
(
[0] => 35
)
[molnumber] => Array
(
[0] => MOL01182
)
[dealershipname] => Array
(
[0] => Barons Durban
)
[pictures] => Array
(
[0] => a:25:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_9.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_10.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_11.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_12.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_13.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_14.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_16.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_17.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_18.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_19.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_21.jpg";i:18;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_22.jpg";i:19;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_23.jpg";i:20;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_24.jpg";i:21;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_25.jpg";i:22;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_27.jpg";i:23;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_28.jpg";i:24;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01182_u0071007_29.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => WVGZZZC1ZNY071900
)
)
1
WVGZZZC1ZNY071900
WVGZZZC1ZNY071900
Colour: REFLEX SILVER METALLIC
MOL01182
28778415
28778415
Enquire
<?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");
}
}
?>
























