Details

The Business Process Manager Extension for Magento by vianetz enables shop merchants to model arbitrary complex order workflows in Magento via the backend without any developer know-how.
Therefore the processes are configured via a graphical flowchart by the user with easy drag & drop. A detailed logging enables the rapid search for errors in case of unexpected behaviour.

It is e.g. possible to realize the following processes with our Magento extension:

Send a notification email to your shipping partner after a new order has arrived

Save the invoice PDF in the file system

Change the order status based on payment method

The graphical flow charts are always following the same principle: Event Condition/Filters Action, to realize arbitrary complex flows.

Features

Extremely simple usage via drag & drop

Available Events that can trigger the workflow: new order, order status changed, invoice paid, REST api call, cronjob, provided file in watch folder

Available Actions that can be executed within the workflow: create invoice, send email, set order status, set product attribute

Available Conditions/Filters that can be used in the workflows: order status, grand total, payment method, product type

Import/Export of workflows to easily use it in other environments

Detailed logging in the backend so that errors can rapidly be located

Add your custom events, conditions or actions

Do you have any individual workflow where you are not sure if it can be applied with this extension or do you want an individual demo? Just please contact us and we will provide you with support.

Technical Information

Language files in this package

English - en_US, German - de_DE

Module Version

1.0.0

Extension Coding Standard

PSR-2

Extension Rewrites

-

Technical Information

Language files in this package

English - en_US, German - de_DE

Module Version

1.0.0

Extension Coding Standard

PSR-2

Extension Rewrites

-

There is no warranty, that the information in documents on this website and related ones are complete, correct and up-to-date in every case. The consultation of a legal practitioner is always recommended.
Completely all the features mentioned on this site are only available for the latest Magento version. Former Magento releases may have a lack of some functionalities.
If the functionality of modules from other vendors intersect with this one, unpredictable issues may arise.
Please get informed about our License Agreement and our thinking about Commercial Open Source.

Are there any more information about our Magento Extension that you would like to see here? Just contact us.

Frequently Asked Questions

These licenses are included in every production domain license. Please send us after your purchase for your production domain an email with your order number and the desired development domain. We're happy to extend your license then.

If you are using our Advanced Invoice Layout Extension with the DHL Extension Dhl_LocationFinder it may happen that if you have added the post number in the shipping address with the variable

{{var dhl_post_number}}

you will see the following output on the PDF invoice or shipment document:
Postnumber: Postnumber: Postnumber: Postnumber: Postnumber: Postnumber: Postnumber: Postnumber: 32403197

This issue happens due to a small bug in the DHL Extension that listens to the Magento event customer_address_format and adds the "Postnumber: " prefix. But as this event can occur multiple times (as it will within the Advanced Invoice Layout extension) the prefix is also added multiple times.

As this is not the desired behaviour you can patch the method Dhl_LocationFinder_Model_Observer::addPostNumberLabel() to only add the prefix once:

After installing a Magento extension you get the following error message, e.g. if you try to login the Magento admin backend:

Mage registry key already exists

Solution:
Please confirm that you followed all installation steps that are mentioned in the Readme file of the module. Especially assure that the Magento cache is cleared, e.g. by emptying the var/cache/ directory in a Magento default installation and that the Magento compilation process has been triggered (if enabled).

Important note

This issue is resolved in AdvancedInvoiceLayout Version 2.2.0. Please contact us to check if you can upgrade.

Short explanation

To realize the email attachment functionality in our AdvancedInvoiceLayout extension we had to extend the Magento core email logic to add methods for attaching documents. Unfortunately there is no way to do this without conflicts with other extensions that do the same, e.g. Ebizmarts_Mandrill or Aschroder_SMTPPro.

Solution

To solve this problem the following manual steps are required:

Make the AdvancedInvoiceLayout extension dependant on the other extension by creating a new file app/etc/modules/ZVianetz_AdvancedInvoiceLayout_Compatibility.xml with the following content (replace OtherVendor_OtherExtension with the extension name)

Copy the file app/code/community/Vianetz/AdvancedInvoiceLayout/Model/Email/Template to app/code/local/Vianetz/AdvancedInvoiceLayout/Model/Email/Template and replace the beginning with

With our AdvancedInvoiceLayout extension it is easy to change the font family in the Magento PDF invoice.
Therefore the AdvancedInvoiceLayout extensions ships with several default fonts which you can choose from:Courier, DejaVu Sans, Helvetica, Times

Due to licensing issues it is not possible to add other font families by default but you can also easily add your own font family with the following steps:

If you want to use Internet Fonts, e.g. Google Fonts

(Note: this supported by our Advanced Invoice Layout Extension for Magento 1 from version 2.3.16 or newer or for Magento 2)
Additional fonts can easily be embedded via CSS, e.g. with Google Fonts:

With our Advanced Invoice Layout Extension for Magento you can easily create store view specific layouts, texts, logos or colors. Therefore you can easily change the store view switcher on the Advanced Invoice Layout configuration page in the Magento backend.

If you want further more layout customizations to the HTML files there are 2 possibilities:

If you use already different Magento themes you can easily do the customizations in the appropriate theme folder (please also see our FAQ entry How to change the Magento PDF invoice layout?). I.e. you just do the customizations e.g. in app/design/frontend/theme1/default/advancedinvoicelayout and app/design/frontend/theme2/default/advancedinvoicelayout.

Additionally there is the possibility (e.g. if you use the same theme for both store views) to create own themes in the Advanced Invoice Layout extension.

We recommend to do your own customizations within these files in your custom theme folder to avoid loosing changes in case that the Extension got an upgrade.
I.e. assuming that your Magento theme is in folder app/design/frontend/MYTHEME/default/ and you want to customize the invoice layout we recommend to copy the file app/design/frontend/base/default/template/advancedinvoicelayout/invoice.phtml to app/design/frontend/MYTHEME/template/default/advancedinvoicelayout/invoice.phtml.

For more experienced users we also deliver SASS files that allows an easier modification of e.g. colors in the whole document.

Basically it is always recommended to activate the Debug Mode of the AdvancedInvoiceLayout extension for testing different layouts under System > Configuration > AdvancedInvoiceLayout. With activated Debug Mode the intermediate HTML file will be saved with each print of the PDF invoice, shipment or creditmemo into the directory var/tmp/invoice_debug.html. Therewith you can analyze and customize the HTML structure and CSS style sheets more easily.
However you are advised to disable this setting in production environments for performance reasons.

The AdvancedInvoiceLayout Extension prints a block with information about the chosen payment method onto the PDF invoice. This block is dynamically filled by the used Magento Payment Extension, e.g. PayPal, DebitPayment, Credit Card, etc. and so this is information is contained in the appropriate Extension files. For example for PayPal the payer email address is printed, for credit cards the credit card number and so on.

So if we want to customize e.g. the text/formatting that is printed on the invoice in case of "Purchase Order" payments we have to do the following steps:

Basically it is always recommended to activate the Debug Mode of the AdvancedInvoiceLayout extension for testing different layouts under System > Configuration > AdvancedInvoiceLayout. With activated Debug Mode the intermediate HTML file will be saved with each print of the PDF invoice, shipment or creditmemo into the directory var/tmp/invoice_debug.html. Therewith you can analyze and customize the HTML structure and CSS style sheets more easily.
However you are advised to disable this setting in production environments for performance reasons.

This process can be done analoguous for other payment methods as well.

If you use our extension Advanced Invoice Layout for Magento it is very easy to move the logo on the PDF documents (invoice/shipment/creditmemo) to the left or right. Just enter the following CSS snippet into System > Configuration > Advanced Invoice Layout > Custom CSS to move the logo to the left:

With our Advanced Invoice Layout Extension for Magento it is very easy to print barcodes of any code on the Magento PDF invoice, shipment or creditmemo.
All you have to do is to choose a font family that supports your desired barcode format and use that in the Advanced Invoice Layout CSS file for printing the barcode. Voilà!

Our Advanced Invoice Layout Extension for Magento allows you to have customer group specific texts on the PDF invoice document.
Therefore on the customer group configuration page in the Magento admin panel there is an additional text field where you can enter HTML-text that will be displayed on PDF invoices if the customer is contained in that customer group.

The automatic group assignment is a standard Magento feature which is explained in more detail in the Magento Documentation.

Therefore the extension has a configuration setting where you can easily select which product attributes you want to show on the invoice, shipment and creditmemo PDF:

If you want to display custom product attributes with our Advanced Invoice Layout Extension for Magento 2 you can add custom attributes to the PDF invoice by adding the following code to the theme template file default/item/invoice.phtml:

echo $this->getProduct()->getData('your_attribute_code');

The sample applies also for the shipment and creditmemo PDF documents.

Installation

1Unzip the setup package and copy the contents of the src/ folder into the Magento root folder. (The folder structure
is the same as in your Magento installation (e.g. app/, skin/, ..). No files will be overwritten.)Please assure that the files are uploaded with the same file user permissions as the Magento installation!

Do a backup of your Magento installation for safety reasons (database and files).

Uninstall probably existing previous versions of the extension

Installation with Composer

1 Create a new folder for the extension in app/code/, e.g. app/code/Vianetz/AdvancedInvoiceLayout.

2 Unzip the setup package and copy the contents into the newly created folder. The folder structure should now be app/code/Vianetz/AdvancedInvoiceLayout/Block, app/code/Vianetz/AdvancedInvoiceLayout/etc, etc.Please assure that the files are uploaded with the same file user permissions as the Magento installation!

With our AdvancedInvoiceLayout extension you are able to customize the Magento default PDF invoice layout to adapt it to your needs and improve the look'n'feel of the invoice.
Therefore you can also easily add your own translations (of course this in accordance to Magento best practices):

Identify the text string that you want to translate in the template files in app/design/frontend/base/default/template/advancedinvoicelayout, e.g. the string "Invoice #%s" in app/design/frontend/base/default/template/advancedinvoicelayout/default/invoice.phtml

Search for this text string in file app/locale/xx_XX/Vianetz_AdvancedInvoiceLayout.csv with xx_XX being the locale code, e.g. "de_DE".

If the text string is available just change the translation to your needs, otherwise add a new line at the end of the file with your translation like

Please take a look at the var/report directory and look for a file with the number mentioned in the error report.
This file contains additional information about the problem. If you do not have a solution for this please
send us the contents of the file to support@vianetz.com.

While executing some actions Magento is only showing a blank page without any content.
This behaviour is mostly caused by a Fatal PHP error. Please have a look into your PHP log files (perhaps ask your hoster) and/or see the Magento error log in the directory var/log of your Magento installation.

Please check the configuration at System > Configuration > Automatic Invoice:Is the Automatic Invoice Extension activated and are the checkboxes for "Generate Invoice" and "Notify Customer" triggered for the specific payment method?

Has the Magento invoice document been generated for the specific order and is it flagged as "invoice email sent"?

Which Magento Extension is used for the payment method? Perhaps it uses itself a mechanism for generating invoice document and sending the invoice email. Then perhaps it is better to exclude it from the Automatic Invoice generation.

Are there any error messages in the Magento and/or Automatic Invoice log files in var/log/?

Date of invoice/shipment/creditmemo creation plus specified number of days, e.g. for specifying due/delivery dates.(Replace "X" with number of days)

{{var prefix}}

Customer Prefix

{{var firstname}}

Customer Firstname

{{var lastname}}

Customer Lastname

{{var shipping_date}}

The date of the first shipment (if any)

{{var payment_method.getTitle()}}

The payment method title

{{if payment_method_purchaseorder}}Only for invoices with payment method purchase order.{{else}}For all other payment methods.{{/if}}

With this statement you can insert text that is dependent on the payment method, in this example purchaseorder. Just replace the text "purchaseorder" with your payment method code, e.g. "checkmo", "banktransfer", "payone", ..

If you have the extension Firegento_MageSetup installed the following additional variables are available:

Please verify that all access data is working properly, especially if the Magento user has the correct group to login and view all relevant areas and the FTP user has write access to all folders of the Magento installation.
All data is kept confidentially.

This website requires cookies for access analysis and marketing campaigns. For more information on what data is contained in the cookies, please see our Privacy Policy page. To accept cookies from this site, please click the Allow button below.