Zen Follower
- Join Date:
- Jan 2011
- Location:
- Ohio
- Posts:
- 114
- Plugin Contributions:
- 0
Add "Product_Name" to each line in Orders.php
Hi All,
One of my stores sells "Classes", and each class date is a product. In the admin, while viewing orders.php, I see the Customers Name, and Company Name on the next line.
**I would like to add a 3rd line under Company Name that displays the "product_name" (aka: class date) that the customer has ordered!
**
It looks like this code needs to be added in orders.php around line 820, but have had no luck with the proper code to add!
Tried adding $order->products[$i]['name'], which is the code that displays in the right sidebox, and displays the product (class) ordered, but this is visible ONLY when that individual customer is highlighted!
I would like to display the product_name for EACH customer order listing!
Can someone please help me with the code that I need to use?
Thanks in advance....