jgilberg Posted January 27, 2022 Share Posted January 27, 2022 I am looking to show the Company name and Customer group in the Backoffice New Order Customer search results but can't find the form.tpl file to add the field. In PrestaShop 1.6 it was located in controllers/admin/templates/orders/form.tpl. I am looking for the form location in Prestashop 1.7. Link to comment Share on other sites More sharing options...
jgilberg Posted February 11, 2022 Author Share Posted February 11, 2022 After researching further, BO new order search results are displayed using customer.html.twig. According to Prestashop documentation, the BO new order has no hook and therefore no module for an override can be created. Is there a way to add the "company" and "default customer group" variables to the customer.html.twig for search results output? Link to comment Share on other sites More sharing options...
jgilberg Posted February 11, 2022 Author Share Posted February 11, 2022 More details: PS version 1.7.8. PS 1.7.4 and earlier used form.tpl. PS 1.7.8 uses customer.html.twig. Link to comment Share on other sites More sharing options...
knacky Posted February 12, 2022 Share Posted February 12, 2022 (edited) https://devdocs.prestashop.com/1.7/development/components/grid/tutorials/modify-grid-in-module/ https://addons.prestashop.com/en/administrative-tools/46237-customize-the-columns-on-the-admin-lists.html Edited February 12, 2022 by knacky (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now