Skip to main content

Customizing Dunning Process Document Templates

Changes to key text areas can be made via Settings → Basic Settings → Shop Settings → PDF Document Creation. You can find general instructions from Shopware here.

image3.png

The transfer subject (element Transaction) can access any information from the order/invoice (invoice number, date, etc.) to generate an individual transfer subject. The following format must be used:

{literal}{$viisonDunningOriginalBillingNumber}{/literal}

Further examples:

{literal}{$viisonDunningOrder->getBilling()->getLastName()}{/literal}
{literal}{$viisonDunningOrder->getNumber()}{/literal}

The base template of the dunning documents contains an overview of the available context variables (ViisonDunning/Views/documents/reminderbase.tpl).

In the text areas (elements Text_Top, Text_Bottom), you have access to the grace period until the next reminder and the due date. To use this, insert the placeholder %daysToNextReminder or %dueDate anywhere in the text, without editing a template file.

Important:

  • If you use Shopware up to and including version 5.4, please do not change the number range of the dunning process documents (payment reminder, payment reminder (advance payment), dunning level 1, dunning level 2, dunning level 3) under Settings → Basic Settings → PDF Document Creation, and do not change the name of the corresponding number ranges under Settings → Basic Settings → Number Ranges.

  • If you use Shopware 5.5 or higher, please do not change the technical name of the dunning process documents (payment reminder, payment reminder (advance payment), dunning level 1, dunning level 2, dunning level 3) under Settings → Basic Settings → PDF Document Creation.

These number ranges and names are used to identify the documents for the dunning process. A different name would cause the plugin to malfunction.

Example Documents

Below you will find some examples of dunning process documents.

Dunning Document

image11.png

Payment Reminder

image1.png

Payment Reminder for Advance Payment Orders

image4.png

Attachment of the Payment Reminder

image5.png
Did this answer your question?