deutschenglish

Installation

Recommendation:
First install the module in a test system and configure/test it there and then finally adapt it to your own wishes.
Only then use it in a liveshop!

================= IMPORTANT =====================
Before installing these changes:
Make a BACKUP of shop and database.
We accept no responsibility; use is at your own risk.
Made a BACKUP? Ok, now read on...
===============================================


1)
In the folder includes/templates, rename the folder YOURTEMPLATE to the template used in the shop (e.g. viennablood, classic, ...)

2)
Upload all of the files in the folder 'includes' into the structure provided in the Zen Cart installation.
The following file is overwritten in the process:

includes/classes/order.php

If changes have already been made to this file, make sure you compare the contents beforehand and enter the changes manually. The tool BeyondCompare (the author's favourite tool..) is well-suited to this.

3)
Upload all the files in the folder 'admin' into the structure provided in the Zen Cart installation. The following file is overwritten in the process:

admin/orders.php

If changes have already been made to this file, make sure you compare the contents beforehand and enter the changes manually. The tool Winmerge is suitable for this.

4)
Upload the folder 'pdf' into the main directory of the shop and set its folder permissions to chmod 777.
As the pdf invoices will be saved to this folder later, writing rights are required.

5)
Upload the folder 'ajax' into the main directory of the shop.

6)
When all the files have been uploaded, enter Zen Cart Administration and call up customers > orders.
Now there is a new button there on the right, "PDF invoice", during every order:

pdf Invoice Button

7)
Click on this button during any order; in this way the necessary entries will be made in the database and the new menu item configuration > pdf invoice 3 is opened. The configuration is already filled with functioning standard values. These values can then be adapted to one's needs later on; more on this in "configuration".

8)
Installation is now completed.
Now it would be good to try creating a pdf invoice and to choose an order again under customers > orders and to click on the button "PDF invoice".
If a pdf then opens with the name xxx.pdf (xxx=order number), everything is ok and the module is ready for use.

9)
You can now adapt the module to your needs and carry on by reading "configuration".