Jump to content

How to customize prestashop1.7 admin backend


PrS

Recommended Posts

4 hours ago, prestamonste said:

Hi there,

Please open file: public_html/controllers/admin/AdminOrdersController.php

Remove line code: 86 to 92. Save the file and double test.

1668224759_6-10-20193-49-51PM.thumb.jpg.3088b0a563fc9105a019a22e1ff05122.jpg

Thank you so much, one more thing....please help.
I just need to add delivery address field in same .. Thanks in advance

Link to comment
Share on other sites

Hi,

In your case, you need to custom the query sql.

Please open file: public_html/controllers/admin/AdminOrdersController.php

Go to line code: 58

Change it from:

country_lang.name as cname,

To:

CONCAT(address.`address1`, \' - \', address.`postcode`, \' - \', address.`phone`, \' - \', address.`city`, \' - \', country_lang.name) AS `cname`,

This is my result testing:

1515515873_6-11-20199-20-00AM.thumb.jpg.8146bdbf7978469991a09ad3734d40e9.jpg

 

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...