In my opinion ERD #1 is a better design.
Reasons
Orders/Product Table will have OrderID for a particular Order and for each Product Orderd and quantity for that product for each Order. no repetition/No redundant data.
ERD #2
Is a poor design as each order can have multiple products and you will be adding the same orderid, CustomerID, Invoicedetails for multiple products for the same Order, in simple words more redundant data.
Edit
ERD #2 also violates the database normalization rules. In orders Table you have InvoiceID and then Invoice_Creation_Date which only depends on the InvoiceID .
normalization rules say if a column in a table doesnt directly depend on the Primary Key in that column it should be in a separate table. In other words all the columns in a table should Directly depends on Primary key only.