There should be a product relation in the orders table, e.g., a foreign key. After that, you can access the product name in the Django template while looping through orders with the syntax.
{{ orderItem.product.name }}.