[Virtuemart] Customize Order List - adding extra column
In this post, I am going explain on how to add an extra column in Virtuemart Administrator Order List page. (Note that, in this example, I'm going to add a new address_1 column). Note: Please refer to my previous post on " adding search keywords " for the SQL query code for the other fields that you want. Getting Started. In /administrator/components/com_virtuemart/html/order.order_list.php locate this section, around line 27. Then add " address_1 " into the line, as below. //$list .= "first_name, last_name FROM #__{vm}_orders, #__{vm}_order_user_info WHERE "; // This is the modified line. $list .= "first_name, last_name, address_1 FROM #__{vm}_orders, #__{vm}_order_user_info WHERE "; After that, locate this section, as usual and note that " Address_1 " is already the added column. $columns = Array( "#" => "width=\"20\"", "<input type=\"checkbox\" name=\"tog...