Jump to content

Custom adress placement


Bjornskov

Recommended Posts

Hello everyone,

 

In my shop we are using some special label paper for orders. This means that every order is printed and in the bottom of that order, the adress label is placed. Therefore I have worked out a solution for having the address shown a custom place without messing up with the already existing address field.

 

So when i go into the order menu of Prestashop and clicks the little button for the order confirmation paper, i get a PDF looking like this:

 

iobwe.png

 

But our printer supports printing from email messages and IFTTT receips, so i want it to print automatically. But when i see the PDF that i recieve from email, the address disapears from the PDF... So for some reason it looks like the email thingy uses another engine as the web one...

 

0tryc.png

 

 

The edit is done with some edits in the classes\PDF\PDF.php and settings.inc.php.

 

Does anyone have a clue how to solve this or mimick the fix in another way?

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