[email protected] Posted January 7, 2021 Share Posted January 7, 2021 Hi! Actually I'm overriding the AdminOrdersController.php, I want to add a column with the name of the State on the orders in Orders Page of the back Office. I added the city, and the postal code, the email , and the id_state without any problem but when I try to add the Name of the State (province of Spain) this don't seem to be easy. Can anybody give me some light about it? --------------- Hola! Actualmente estoy trabajando sobre el archivo AdminOrdersController.php haciendo un override. Mi intención es crear una columna para las Provincias en la página de pedido del backoffice. He logrado incluir la ciudad, el codigo postal, incluso el email, pero con la provincia solo consigo añadir el codigo interno de prestashop (Id_state). Podria alguien ayudarme a lograr que este código se convienta en el nombre completo de la provincia? Un saludo y muchas gracias! 'postcode' => array( 'title' => $this->trans('Codigo postal', array(), 'Admin.Global') ), 'city' => array( 'title' => $this->trans('Ciudad', array(), 'Admin.Global') ), 'id_state' => array( 'title' => $this->trans('Provincia', array(), 'Admin.Global') ), '' => array( 'title' => $this->trans('Provincia', array(), 'Admin.Global') ), 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