ID);
$warranty_end_date = get_field(‘warranty_end_date’, ‘user_’ . $current_user->ID);
$product_name = get_field(‘product_name’, ‘user_’ . $current_user->ID);
$serial_number = get_field(‘serial_number’, ‘user_’ . $current_user->ID);
if ($warranty_start_date && $warranty_end_date && $product_name && $serial_number) { echo ‘
‘; echo ‘
Warranty Information
‘; echo ‘
Product Name: ‘ . $product_name . ‘
‘; echo ‘
Serial Number: ‘ . $serial_number . ‘
‘; echo ‘
Start Date: ‘ . $warranty_start_date . ‘
‘; echo ‘
End Date: ‘ . $warranty_end_date . ‘
‘; echo ‘
‘;
} else { echo ‘
No warranty information available.
‘;
}
?>