class hook_admin_siteWide_parts {
public function listen_databaseOrderProductColumns($parameters) {
$parameters['column_keys']['parts'] = 'products_parts';
}
}
class hook_admin_siteWide_parts {
public function listen_databaseOrderProductColumns($parameters) {
$parameters['column_keys']['parts'] = 'products_parts';
}
}
Thank you once again Matt
Just checking now - if I add
in orders/view/defult.php
gives me this:
I realise that I need to select from orders_products and then define 'qty' and 'parts'
but every tie I try to do it on that file I get an unexpected end error
Last edited by Xpajun on Sat Feb 17, 2024 10:16 pm, edited 1 time in total.
Current Store is now running 1.0.9.0 - php 8.2.18 Now working on taking a short rest - php 8.2.18
You don't have products in the orders rows. You'd have to alter the query considerably in order to view product information. Or run a new query (or queries) to load that information.