Jump to content

In Prestashop 1.7.7.1 How to customize Order Page for printing


Recommended Posts

I need to make changes to the print order file on the admin side.
In Prestashop version 1.7.6.8 I changed the view.tpl file to
/public_html/adminxxx/themes/default/template/controllers/orders/helpers/view/view.tpl
In Prestashop version 1.7.7.1, the Order folder no longer exists.
Which file should I edit and where is it?
Thanks for your help.

Link to comment
Share on other sites

  • 5 months later...
  • 5 months later...
  • 8 months later...

This is a bit of an issue in prestashop as at the top of the 'print order' page it says the quantity of messages, but then for some reason the following code (d-print-none) has been added to the messages section so it does not print them:

To print the customer messages in the print order page, go to this file

../src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/messages.html.twig

and change <div class="card mt-2 d-print-none"> to <div class="card mt-2">

Link to comment
Share on other sites

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...