Instruction PDF Invoice to Order for Opencart


Download and install


  1. Download the plugin archive from Shop Pinta and save it to your computer.

  2. In the admin panel of your website, select Extensions (1) > Installer (2).

  3. In the Upload your extensions block click the Upload button (3).




  1. In the opened window, select the plugin archive (1) and click Open button (2).




  1. Clear the cache. Go to the Modifications subcategory (1), check the checkbox (2), press Clear (3) and Refresh (4) buttons.




  1. Go to the Extensions subcategory (1), in the Modules list (2), find the Pdf invoice plugin and click the Install button.




  1. To configure the plugin, click the Edit button.

 



 

 

Plugin page

 

The setting page of the Pdf invoice plugin consists of 5 tabs:

 

  1. General.

  2. Manage Template.

  3. Event settings.

  4. New font.

  5. Variable list.

 



The General tab includes:


  1. The Status field (1), in which you enable/disable the plugin (position Enabled/Disabled).

  2. The Page number position field (2), in which the page numbering position in the pdf file is set.

  3. The Page number status field (3), where you can enable/disable the page numbering display in the pdf file (position Enabled/Disabled).

 



The Manage template tab includes all created templates and the Add New button (1) to create a new PDF template.

 

Each template you can edit (button Edit (2)), delete (button Delete (3)), open as a PDF document (button Preview (4)).




During creating/editing a template, such tabs become available - General, Manage template, Template examples, Barcode and Watermark, and Custom Css.

 

  • The General tab. Includes the main settings of the template, such as: its inclusion, choice of name, format of the sheet, its orientation and indents, RTL (for template inversion - "for Arabic spelling").

 



  • The Manage template tab - for formatting the template. It includes such features as: enabling/disabling the header, footer, logo loading, template formatting blocks and product list.




  • The Template examples tab. In this block, you can select a standard template and edit it, if necessary, using the Manage template tab.

 



  • The Barcode and Watermark tab - to select the needed type of Barcode (1) and Watermark (2), the elements for their formatting: size, transparency, orientation.






  • The Custom CSS block is for using custom CSS styles that differ from the standard ones.




After editing the formatting of the template, save the changes by clicking the Save button. After that, you can continue configuring the plugin.

 



The Event settings tab is for configuring how the pdf is sent to email. 

 

This tab contains:


  1. The Invoice for block (1) - to create a template for invoice, which will be sent to the email specified by the customer when placing the order, and consists of fields:

  • Default invoice template (1.1) - to select the default template you want. If you don't want the pdf document sent to the mail, leave this field empty.    

  • Invoice for (1.2) - to select the order conditions under which the pdf file will be sent.


  1. Block (2) depends on the value selected in the Invoice for field (1.2) and can be displayed as one of the blocks:

  • Users Invoice,

  • Payment method Invoice,

  • Order status Invoice.


For each of these boxes, you can select the templates you want to use for different types of events. If fields are left empty, they will be assigned to the default template selected from the Default invoice template (1.1).


  1. The Shipping for block (3) - configures the event when the pdf file of the waybill will be sent to the mail, and consists of fields:

  • Default shipping template (3.1) -  to select the default template you want. If you don't want a pdf document sent to the mail, leave this field empty.  

  • Invoice for (3.2) - to select the order conditions under which the pdf file will be sent.


  1. Block (4) depends on the value selected in the Invoice for field (3.2) and can be displayed as one of the blocks:

  • Users Invoice,

  • Payment method Invoice,

  • Order status Invoice.


For each of these blocks, you can specify the templates you want to use for different types of events. If the fields are left empty, they will be assigned to the default template selected from the Default invoice template (3.1).




The New font tab allows you to load new fonts other than the standard ones.




The Variable list tab includes a list of variables used in the template and their description. 

 



When you are finished editing the settings, save the changes by clicking the Save button.




After placing an order in your online store, an email is sent to the specified email address with an order description and pdf files corresponding to the plugin settings.




 



VIDEO INSTRUCTION