Skip to main content

EmailBuilder (Test phase)

EmailBuilder is continuously being developed further

On this page, we will present you the functions of the new EmailBuilder. The EmailBuilder is continuously being developed further; more functions and features will be added. In the course of development, also this page of the user manual will be completed step-by-step.

All emails that are sent with plentymarkets are based on templates. You create and manage templates with the EmailBuilder in the CRM » EmailBuilder (Test phase) menu.

The EmailBuilder is a modular construction kit for quickly creating and editing your email templates via drag-and-drop. No programming skills are required.

The EmailBuilder consists of 2 views: the configuration manager and the editor. With the configuration manager, you create folders and, if needed, sub-folders, templates as well as templates for your footer and your header. With the editor, you fill your templates, headers and footers with content. You can create a template for an invoice, for example, and use this template for all invoices that are sent to your customers in the future.
You can then use the header and footer templates in the email templates as desired. Header and footer are globally active; changes you make to the header and footer affect the rest of all existing templates and all other templates that you will create in the future.

The header, the footer and the settings in the template such as the name, the subject etc. form the framework of your email, so to say. The content of the template is formed with widgets and variables. In the emails that are sent to your customer, the variables will then be replaced with the correct content. For example: The variable Delivery address First name and last name will be replaced in the email with the first name and the last name of the contact from the delivery address.

In case of certain events, e.g. if a new order is placed in your online shop or when a contact subscribes to a newsletter, your plentymarkets system automatically creates emails from these templates and sends them to your contacts.

1. Carrying out the preparatory settings

The following sub-chapters describe which preparatory settings are needed so that you can work with the EmailBuilder.

1.1. Assigning rights for back end users

Back end type users can only see certain areas and menus in plentymarkets. This means they only have limited access to the system. If you want back end type users to work with the EmailBuilder, you have to grant them the following rights:

  • CRM > Email > Edit automatic email

  • CRM > Email > Edit HTML design

  • CRM > Email > Edit info service

  • CRM > Email > Edit newsletter

  • CRM > Email > Edit signature

  • CRM > Email > Edit template

  • CRM > Email > Edit access data

  • in the Menu visibilities area: CRM > EmailBuilder

Tip: How to grant rights

Note that only Admin users can grant rights.

Assigning rights:

  1. Go to Setup » Settings » User » Rights » User.
    → The overview opens.

  2. Select a user.
    → The Rights menu item containing the visibilities opens.

  3. Assign the rights for the respective area by ticking the check boxes indicated above.
    Note: You can either grant rights for complete areas or limit the rights you grant the user. To only grant limited rights in a certain area, expand the area.

  4. Save () the settings.

The Rights and Menu visibilities are linked. This means that if you grant a right in one of the two areas, plentymarkets automatically grants the corresponding rights in the other area.

1.2. Saving the email server’s login details

In the Setup »Client » [Select client] » Email » Login details menu, you save the login details of a mailbox so that plentymarkets emails such as order or shipping confirmations can be sent from this email address.

Saving the email server’s login details:

  1. Go to Setup » Client » [Select client] » Email » Login details.

  2. Carry out the desired settings. Note Table 1.

  3. Save () the settings.

Table 1. Saving the email server’s login details
Setting Explanation

Test mode

Select Active or Inactive.
Active = The test mode is activated. All emails are only sent to the saved email address. This allows you to test the settings before switching to the live mode.
Inactive = The live mode is activated.
Important: The test mode is only applied to this online shop. The settings for additional clients (shops) are carried out in the client’s menu.

Name of sender

Enter your name or the name of the online shop. The name is displayed to the recipient. Avoid using special characters in order to allow for correct display.

Email address

Enter the email address as it is listed in the email programme.

Outgoing mail server/SMTP server

Enter the outgoing mail server as specified by the provider (usually smtp.domain.co.uk or mail.domain.co.uk).
mailbox.org: For mailbox.org mailboxes, enter the outgoing mail server smtp.mailbox.org and select the encryption method SSL.

User name

Enter the user name that matches the email address.
mailbox.org: The mailbox.org user name is the complete email address of the mailbox.org mailbox.

Password

Enter the password that matches the user name and email address.

Port (standard port: 25)

Enter the value 25. This value is correct for nearly all providers. Otherwise, ask your provider about the correct port.
mailbox.org: For mailbox.org mailboxes, enter port 465 and select the encryption method SSL.

Encryption

Select SSL, TLS or No encryption.
mailbox.org: For mailbox.org mailboxes, enter port 465 and select the encryption method SSL.

Entering newsletter login details

Go to Setup » Client » [Select client] » Email » Newsletter. Enter the login details to use the newsletter service that is integrated in plentymarkets. For further information, refer to the Entering newsletter login details chapter of the Newsletters page of the manual.

1.3. Saving the email signature

Go to Setup» Client » [Select client] » Email » Signature to save the signature. The signature is then automatically added to your email templates when you inserted the corresponding variable in the template.

Note the priority of the signature

The signature that was saved for a user in his or her user account in the Setup » Settings » User » Accounts menu takes priority over the signature that is saved in the Setup » Client » Select client » Email » Signature menu.
This means: If you insert, for example, the variable Signature in HTML format in the template, the signature is taken from the user account. If no signature is saved in the user account, the signature that is saved in the Setup » Client » [Select client] » Email » Signature menu is used.

2. Managing folders

You can create as many folders and sub-folders as you like in the EmailBuilder. After you created a folder, you can create new sub-folders, new templates in general and new header and footer templates by clicking on .

Your plentymarkets system contains a folder with pre-defined default templates. These are explained further down on this page in the Using default templates chapter.

emailbuilder folder structure
Figure 1. Folder structure in the EmailBuilder

2.1. Creating a folder

Create folders to get a better overview of your email templates at a later point in time. Proceed as described below to create a new folder.

Creating a folder:

  1. Go to CRM » EmailBuilder (Test phase).

  2. Click in the bottom left on New main folder.
    → The Create new folder window opens.

  3. Enter the name for the folder.

  4. Save the settings.
    → The new folder is added to the folder list.

Once you have carried out all settings as described in the following – so you have created sub-folders, templates, headers and footers –, you can open the main folder by clicking on . You will see there at a glance all sub-folders, templates, headers and footers that you created directly in the main folder.

2.2. Renaming the folder

You can update the folder name at any time. To do so, proceed as described below.

Renaming the folder:

  1. Go to CRM » EmailBuilder (Test phase).

  2. In the line of the folder that you want to rename, click on .
    → A window opens.

  3. Click on Rename.
    → The Rename folder window opens.

  4. Enter an other name for the folder.

  5. Click on Update.
    → The new folder name is updated and shown in the list.

2.3. Creating a sub-folder

Create sub-folders in your folders to group your email templates in even more detailed topics. You can create as many sub-folders as you like. Also the number of levels is unlimited.

Create a draft for your folder structure in advance

We recommend creating a draft in advance to avoid confusing and unclear nesting levels in your folder structure. Because: The more levels you create, the more complex the structure will be.

Creating a sub-folder:

  1. Go to CRM » EmailBuilder (Test phase).

  2. In the line of the folder that you want to create a sub-folder for, click on .
    → A window opens.

  3. Click on New sub-folder.
    → The Create new folder window opens.

  4. Enter the name for the sub-folder.

  5. Save the settings.
    → The sub-folder is created within the main folder.

Open the sub-folder by opening the main folder with a click on . You can see all sub-folders that you created at a glance.

2.4. Deleting a folder

You can delete folders and sub-folders at any time. Note that the entire content in the folder will also be deleted.

Deleting a folder:

  1. Go to CRM » EmailBuilder (Test phase).

  2. In the line of the folder or sub-folder that you want to delete, click on .
    → A window opens.

  3. Click on Delete.
    → A window opens and you need to confirm your decision.

  4. Click on Delete.
    → The folder with all corresponding sub-folders and templates contained in there will be deleted.

3. Managing templates

Learn in the following sub-chapters how to create, search for and edit templates for headers and footers and general templates. You can also use pre-defined default templates. Moreover, you will learn everything about the available widgets and how you can use these widgets.

The widgets and variables that are contained in the template form the actual content of your email. Via the widgets, you can insert as many variables as you like into a template by using drag-and-drop. These variables will then be replaced with the correct content when the email is sent to your customers.

To see which variables are available for your email templates, refer to the lists on the bottom of this page in the Available variables and twig expressions for the code widget chapter.

Create templates for the header and the footer that you can later use in all of your email templates. Header and footer are globally active. This means: changes you make to the header and footer affect the rest of all existing templates and all other templates that you will create in the future.

You can insert, for example, your company logo into the header and insert into the footer your signature and the general company details such as the address, links to social media, the legal structure of your company, details about your company’s executive board, and much more.

Proceed as described below to create a template for the header and the footer.

3.1.1. Creating a header template

Proceed as described below to create a template for the header of your email template.

Creating a header template:

  1. Go to CRM » EmailBuilder (Test phase).

  2. In the line of the folder or sub-folder in which you want to create a header, click on the context menu ().
    → A window opens.

  3. Click on New header.

  4. Enter a name for the header.

  5. Save () the settings.
    → The template is created.

  6. Click on Edit ().

  7. Edit the header according to your wishes and insert widgets and variables.

  8. Save the settings.

Showing the preview of the header

Check the header by opening the preview.

  1. Go to CRM » EmailBuilder (Test phase).

  2. Expand the folder () that contains the header for which you want to show the preview.

  3. Click on the header.

  4. Click on Preview ().

  5. Select Preview HTML or Preview plain text.
    → The preview opens in a separate window.

  6. Check the header.

  7. Close the window.

If you are not satisfied with the result, edit the content of your header again.

Proceed as described below to create a template for the footer of your email template.

Creating a footer template:

  1. Go to CRM » EmailBuilder (Test phase).

  2. In the line of the folder or sub-folder in which you want to create a footer, click on .
    → A window opens.

  3. Click on New footer.
    → A new view opens.

  4. Enter a name for the footer.

  5. Save () the settings.
    → The template is created.

  6. Click on Edit ().

  7. Edit the footer according to your wishes and insert widgets and variables.

  8. Save the settings.

Check the footer by opening the preview.

  1. Go to CRM » EmailBuilder (Test phase).

  2. Expand the folder () that contains the footer for which you want to show the preview.

  3. Click on the footer.

  4. Click on Preview ().

  5. Select Preview HTML or Preview plain text.
    → The preview opens in a separate window.

  6. Check the footer.

  7. Close the window.

If you are not satisfied with the result, edit the content of your footer again.

3.2. Creating a template

Now create the template and save basic settings such as the name, the subject, CC and BCC and select the appropriate header and footer for the template. Proceed as described below to create a new template.

Switching between multiple templates

If you later edit multiple templates in the editor at the same time, you can use the navigation to switch between the individual templates. By clicking on Configuration, you will be routed directly to the folder tree. The template that you have last edited will be opened there automatically.

emailbuilder create new template
Figure 2. Creating a template in the EmailBuilder

Creating a template:

  1. Go to CRM » EmailBuilder (Test phase).

  2. In the line of the folder or sub-folder in which you want to create a template, click on .
    → A window opens.

  3. Click on New template.

  4. Carry out the settings. Note Table 2 and Figure 2.

  5. Save () the settings.

Table 2. Creating a template in the EmailBuilder
Setting Explanation

Save

Saves the settings.

Name

Name

What’s the name of the template? Enter a descriptive name so you can easily find the template at a later point in time.
Note: This field is a mandatory field.

Content

Click on to edit the content of the template and to use widgets and variables.
The editor area opens and you can edit the content of the template by clicking on the widgets.

Build from default template

Expand the area () to select one of the default templates and to link it with the new template.

Settings

Header

Which header do you want to show in this template? Select a header from the drop-down list ().
The list contains all headers that you have already created.

Footer

Which footer do you want to show in this template? Select a footer from the drop-down list ().
The list contains all footers that you have already created.

Select static attachments

This drop-down list provides all attachments that you uploaded before in the CMS » Documents menu. These are, for example, installation guides or product data sheets. Select () up to 3 static attachments from the drop-down list.

Select dynamic attachments

This drop-down list provides all location-based documents that you set up in the Setup » Client » [Select client] » Locations » [Select location] » Documents menu. Select () up to 3 dynamic attachments from the drop-down list.

Subject

What’s the subject of your email?

Reply to

Who is the recipient of this email? Enter the email address(es).
Note: When you enter several email addresses, separate them with a comma each.

CC

To whom do you want to send a copy of this email? Enter the email address(es).
Note: When you enter several email addresses, separate them with a comma each.

BCC

To whom do you want to send a blind copy of this email? Enter the email address(es).
Note: When you enter several email addresses, separate them with a comma each.

Now structure the content of your email by inserting variables via the widgets. How to proceed is described in the following chapter Inserting a widget into a template.

3.3. Inserting a widget into a template

In the editor, you can find a selection of widgets whose contents are already pre-configured for you. For example, you will find in the Order items widget a pre-defined list with the most important variables around the ordered item such as item name, the number of ordered items, the prices, the shipping costs and the total invoice amount. You can, however, customise the content anytime and add more column names and single positions. Figure 3 shows the editing mode of the pre-defined Order items widget.

emailbuilder editing mode order items
Figure 3. Editing mode of the pre-defined widget Order items

Table 3 lists all widgets that are available in the EmailBuilder as well as an explanation how you can use the widgets.

Table 3. Available widgets in the EmailBuilder
Widget Explanation

Two-column layout

Allows to display text in a two-column layout. Click on to open the settings. You can also determine the relation how the fields are displayed. The following values are available:

  • 50% / 50% (standard)

  • 30% / 70%

  • 70% / 30%

You can insert further widgets in this widget by dragging them to one of the two columns.

Click on Close settings () to close the settings. Click on Delete widget () to remove the widget.

Three-column layout

Allows to display text in a three-column layout.

You can insert further widgets in this widget by dragging them to one of the three columns.

Click on to open the settings. Here, you can remove the widget by clicking on Delete widget (). Further settings cannot be carried out in this area. Click on Close settings () to close the settings.

Text

In this widget, you can enter text and use variables. You can also format the text you entered. To do so, double-click on the word that you want to format.

Click on to open the list with the variables on the left side of the screen. Use the search function to find the variables or find the appropriate variables by expanding the individual areas (). Click on the variable that you want to insert. Enter additional text in the widget, if needed.

Click on to open the settings. Here, you can remove the widget by clicking on Delete widget (). Further settings cannot be carried out in this area. Click on Close settings () to close the settings.

Code

In this widget, you can insert text in HTML format. To do so, some basic HTML skills are needed.

Click on to open the view.

Click on to open the settings. Here, you can remove the widget by clicking on Delete widget (). Further settings cannot be carried out in this area. Click on Close settings () to close the settings.

Contact address

This widget contains sample data of the contact address. The layout of the address depends on the settings that you saved in the Setup » CRM » Address layout menu. This means: The layout in the EmailBuilder is displayed in the same way as the address layout that you defined as the standard address layout in the Setup » CRM » Address layout menu.

Click on to open the settings. Select the address type Invoice address or Delivery address from the drop-down list.

Click on Close settings () to close the settings. Click on Delete widget () to remove the widget.

Order address

This widget contains sample data of the order address. The layout of the address depends on the settings that you saved in the Setup » CRM » Address layout menu. This means: The layout in the EmailBuilder is displayed in the same way as the address layout that you defined as the standard address layout in the Setup » CRM » Address layout menu.

Click on to open the settings. Select the address type Invoice address or Delivery address from the drop-down list.

Click on Close settings () to close the settings. Click on Delete widget () to remove the widget.

Order items

This widget contains an already pre-defined layout for the order items with sample data. The sample data will then be replaced with the correct values in the email. Figure 3 shows the standard widget with further settings options.

Click on to open the settings. Here you can select from the drop-down lists which contents should be shown. By clicking on Add new entry () in the settings, you can add further columns. By clicking on Remove entry (), the columns are deleted from the overview.

Item list

In this widget, you can enter text and use variables. Note that you can only use variables from the sub-category Order / Order items in this widget.

Click on to open the list with the variables on the left side of the screen. Use the search function to find the variables or find the appropriate variables by expanding the individual areas (). Click on the variable that you want to insert. Enter additional text in the widget, if needed.

Click on to open the settings. Here, you can remove the widget by clicking on Delete widget (). Further settings cannot be carried out in this area. Click on Close settings () to close the settings.

Image

Use this widget to upload images such as your company logo to show it in your email templates. Click on to open the settings. You can adjust the width and height of the image, upload the image, enter an alternative text and adjust the styling in CSS format.

Click on Close settings () to close the settings. Click on Delete widget () to remove the widget.

Proceed as described in the following to insert a widget into a template.

Inserting a widget into a template:

  1. Go to CRM » EmailBuilder (Test phase).

  2. Expand the folder () that contains the template you want to edit.

  3. Click on the template.

  4. Click on Edit ().
    → The editor opens and the widgets are loaded.

  5. Click on the widget on the left side and drag-and-drop it to the shaded area.

  6. Click on or on and carry out the settings.

  7. Save () the settings.

Showing the preview of the widget

Check the widget by opening the preview.

  1. Go to CRM » EmailBuilder (Test phase).

  2. Expand the folder () that contains the template for which you want to show the preview.

  3. Click on the template.

  4. Click on Preview ().

  5. Select Preview HTML or Preview plain text.
    → The preview opens in a separate window.

  6. Check the widget.

  7. Close the window.

If you are not satisfied with the result, edit the widget.

3.4. Editing the widget

You can edit the content of the widgets at any time. To do so, proceed as described below.

Editing a widget:

  1. Go to CRM » EmailBuilder (Test phase).

  2. Expand the folder () that contains the template you want to edit.

  3. Click on the template.

  4. Click on Edit ().
    → The editor opens and the widgets are loaded.

  5. Click on .
    → The widget settings open – if they are available.

  6. Click on - if available.
    → The variables open on the left side.

  7. Use the search function to find the variables or find the appropriate variables by expanding the individual areas ().

  8. Click on the variable that you want to show in the widget.
    → The variable is taken to the widget.

  9. Save the settings.

3.5. Using default templates

Before you created a new folder, you might have recognised the folders Standardvorlagen and Default templates? These folders contain pre-defined templates in German and English language. You can use the templates as they are or adjust the contents just as you like.

Besides the content of the email, the name of the template as well as the subject are already filled in in a default template. This means that you only have to select the header and footer and fill the fields Reply to and, if needed, also CC and BCC.

Switching between multiple templates

If you later edit multiple templates in the editor at the same time, you can use the navigation to switch between the individual templates. By clicking on Configuration, you will be routed directly to the folder tree. The template that you have last edited will be opened there automatically.

emailbuilder example default template shipping confirmation
Figure 4. Example: Default template Order: Shipping confirmation

Would you like to know which default templates are already available in the EmailBuilder and how their subjects are? Simply expand the following area by clicking on .

Default templates in the EmailBuilder and their subjects

German default templates in the EmailBuilder and their subjects

Table 4. German default templates in the EmailBuilder and their subjects
German template Subject

Auftrag: Änderung

Auftragsänderung Ihrer Bestellung mit der ID {⁠{order.id}⁠}

Auftrag: Teilzahlung erhalten

Teilzahlung für Auftrags-ID {⁠{order.id}⁠} erhalten

Auftrag: Versandbestätigung

Versandbestätigung für Ihre Bestellung mit der ID {⁠{order.id}⁠}

Auftrag: Zahlungseingang vollständig

Zahlung für Auftrag {⁠{order.id}⁠} vollständig erhalten

eBay: Disput / Storno, keine Zahlung

Ihre Bestellung mit der ID {⁠{order.id}⁠} wurde storniert

eBay: Eingangsbestätigung Bestellung

eBay-Auktion gewonnen: Auftrags-ID {⁠{order.id}⁠}

eBay: Eingangsbestätigung mit Bankdaten ohne Checkout

Eingangsbestätigung zum eBay-Auftrag mit der ID {⁠{order.id}⁠}

Shop: Neues Passwort

Ihre angeforderten Zugangsdaten zu unserem Webshop

Shop: Newsletter-Anmeldung

Bestätigung zur Newsletter-Anmeldung

Shop: Eingangsbestätigung Bestellung

Auftragsbestätigung für Auftrags-ID {⁠{order.id}⁠}

English default templates in the EmailBuilder and their subjects

Table 5. English default templates in the EmailBuilder and their subjects
English template Subject

Order: Changes

Change to your order with ID {⁠{order.id}⁠}

Order: Partial payment received

Partial payment for order ID {⁠{order.id}⁠} received

Order: Shipping confirmation

Shipping confirmation for your order with ID {⁠{order.id}⁠}

Order: Payment complete

Payment for order ID {⁠{order.id}⁠} fully received

eBay: dispute / cancellation, no payment

Your order with the ID {⁠{order.id}⁠} was cancelled

eBay: Order confirmation

eBay auction won: Order ID {⁠{order.id}⁠}

eBay: Order confirmation with bank details without checkout

Order confirmation for your eBay order with the ID {⁠{order.id}⁠}

Shop: New password

Your requested login details for our online shop

Shop: Newsletter registration

Confirmation of newsletter registration

Shop: Order confirmation

Order confirmation for your order with ID {⁠{order.id}⁠}

3.6. Showing the preview of the template

Check the email template by opening the preview.

  1. Go to CRM » EmailBuilder (Test phase).

  2. Expand the folder () that contains the template for which you want to show the preview.

  3. Click on the template.

  4. Click on Preview ().

  5. Select Preview HTML or Preview plain text.
    → The preview opens in a separate window.

  6. Check the template.

  7. Close the window.

If you are not satisfied with the result, edit the content of your template.

3.7. Searching for a template

The following instructions describes how to search for templates in general. The procedure is thus identical for searching for all templates, i.e. also searching for the templates that you created for the header and the footer.

Searching for a template:

  1. Go to CRM » EmailBuilder (Test phase).

  2. Select the language and/or client from the drop-down lists.
    → The templates that correspond to the search criteria entered are shown.

  3. Click on the template to open it.

3.8. Editing a template

The following instruction describes how to edit templates in general. The procedure is thus identical for editing all templates, i.e. also editing the templates that you created for the header and the footer.

Switching between multiple templates

If you later edit multiple templates in the editor at the same time, you can use the navigation to switch between the individual templates. By clicking on Configuration, you will be routed directly to the folder tree. The template that you have last edited will be opened there automatically.

Editing a template:

  1. Go to CRM » EmailBuilder (Test phase).

  2. Expand the folder () that contains the template you want to edit.

  3. Click on the template.

  4. Carry out the changes. Note Table 2.

  5. Save () the settings.

3.9. Deleting a template

Proceed as described below to delete templates. Only the assembled template will be deleted but not the components contained in it such as the header and footer.

Deleting a template:

  1. Go to CRM » EmailBuilder (Test phase).

  2. Expand the folder () that contains the template you want to delete.

  3. In the line of the template that you want to delete, click on .
    → A window opens.

  4. Click on Delete.
    → A window opens and you need to confirm your decision.

  5. Click on Delete.
    → The template is deleted.

4. Available variables and twig expressions for the code widget and the subject line

Learn in the following sub-chapters which variables are available and which twig expressions you can use in the code widget and in the template’s subject line.

Available variables

The available variables for the EmailBuilder are grouped into different categories and sub-categories:

  • Order

    • General order variables

    • Delivery address

    • Invoice address

    • Order items (only for item list widget)

    • Shipping

  • Contact

    • General contact variables

    • Delivery address

    • Invoice address

    • Options

  • Global

  • Newsletter

Do you want to know which variables are available for the individual categories and sub-categories and how the twig expressions are called that you can use in the code widget in the template’s subject line? Simply expand the corresponding areas below by clicking on .

Twig expressions for the code widget and the subject line

In the following expandable areas you find besides the variables also the twig expressions that you can use in the code widget and in a template’s subject line.

Twig expression in the subject line

If you want to use a twig expression in the template’s subject line, this expression has to be surrounded by double curly brackets.

Example: If you want to display the shipping service provider in your template’s subject line, open the expandable area Order / Shipping, search for the variable Shipping service provider and insert the corresponding twig expression in the subject line of your template as follows: {⁠{order.formattedShipping.providerName}⁠}.

Twig expression in the code widget

If you use if queries  in your code widget, for example, there is no need to insert double curly brackets in the if query itself, but in the body text. For further information about twig, refer to the Twig Documentation .

In the Code examples for the code widget chapter, you can find some if queries that you can simply copy to your code widget.

Do you want to know which variables are available for the individual categories and sub-categories and how the twig expressions are called that you can use in the code widget? Simply expand the following areas by clicking on .

Variables in the Order category
Name of the variable Explanation Twig expression

Order ID

order.id

Main order ID

ID of the highest preceding order. Usually, this is a normal order.
Example: In case of a credit note C1 coming from a return R1 from the order O1, the Parent Order ID returns the ID of R1 and $OriginOrderID returns the ID of O1.

order.formattedOriginOrder.originOrderId

Parent order ID

ID of the direct preceding order
Example: In case of a credit note, this could be the ID of the return or of the order from which the credit note was generated.

order.parent_order_id

Status

Name of the order status as it is saved in the Setup » Orders » Statuses menu.

order.statusName

Status ID

ID of the order status as it is saved in the Setup » Orders » Statuses menu.

order.statusId

Flag

Flag that was selected in the order.

order.formattedProperties.flag

Customer sign

order.formattedProperties.customerSign

External order ID

order.formattedProperties.externalOrderId

Currency code

Currency code, e.g. EUR or USD.

order.formattedSubtotals.currencyCode

Currency symbol

Currency symbol, e.g. or $.

order.formattedSubtotals.currencySymbol

Invoice address VAT number

VAT number from the invoice address as saved in the order.

order.formattedAddresses.invoiceAddress.formattedOptions.VATNumber

Delivery address VAT number

VAT number from the delivery address as saved in the order.

order.formattedAddresses.deliveryAddress.formattedOptions.VATNumber

Value of the items

order.formattedGeneral.valueOfItems

Total invoice amount

Example: 1.234,00

`order.formattedGeneral.invoiceTotal

number_format(2, ',', '.')`

Total invoice amount, separated by a full stop

Example: 1234.00

`order.formattedGeneral.invoiceTotal

number_format(2, '.', '')`

Total invoice amount, net

order.formattedGeneral.invoiceTotalNet

VAT total

order.formattedGeneral.totalVat

Net total order

order.formattedGeneral.totalNet

Date and time of incoming order

order.formattedDates.createdOn

Date of incoming payment

Date and time of the incoming payment as saved in the order.

order.formattedDates.paidOn

Payment method

Name of the payment method as saved in the Setup » Orders » Payment » Payment methods menu.

order.formattedGeneral.methodOfPaymentName

Payment method ID

The ID is automatically assigned by the system. The IDs are listed in the Setup » Orders » Payment » Payment methods menu.

order.formattedProperties.paymentMethod

Referrers

Name of the order referrer as it is saved in the Setup » Orders » Referrers menu.

order.formattedReferrer.name

Referrer ID

ID of the order referrer as it is saved in the Setup » Orders » Referrers menu.

order.formattedReferrer.id

Amount paid

order.formattedGeneral.paidAmount

Open amount

order.formattedGeneral.openAmount

Overpaid amount

order.formattedGeneral.overpaidAmount

Order warehouse ID

order.formattedProperties.warehouse

Plenty ID

The ID is automatically assigned by the system and cannot be changed. You can find the ID in the Setup » Client » [Select client] » Settings menu.

order.plentyId

Seller account

order.formattedProperties.sellerAccount

eBay payment ID

order.formattedProperties.ebayUniquePaymentID

Barcode ID

order.formattedGeneral.barcodeOrderID

Customer wish

During the checkout via the online shop, the contact can enter a wish regarding the items they ordered. This wish is saved as order note in the order data.

order.formattedComments.customerSpecialWishes

Order type

Type of the order, e.g. delivery order, return, credit note or repair.

order.typeId

Access order in the online shop

Opens the URL to the order in your online shop.

order.access_key

Reorder ID

order.formattedReorder.id

Coupon value

order.formattedGeneral.couponValue

Invoice number ID

order.formattedDocuments.invoice

DHL Retoure Online QR code

Variables in the Order / Delivery address sub-category
Name of the variable Twig expression

Delivery address First name and last name

order.formattedAddresses.deliveryAddress.name2 ~ ' ' ~ order.formattedAddresses.deliveryAddress.name3

Delivery address Additional address information

order.formattedAddresses.deliveryAddress.address3

Delivery address First name

order.formattedAddresses.deliveryAddress.name2

Delivery address Last name

order.formattedAddresses.deliveryAddress.name3

Delivery address Company name

order.formattedAddresses.deliveryAddress.name1

Delivery address Contact person

order.formattedAddresses.deliveryAddress.formattedOptions.contactPerson

Delivery address Telephone

order.formattedAddresses.deliveryAddress.formattedOptions.telephone

Delivery address Street

order.formattedAddresses.deliveryAddress.address1

Delivery address Postcode and town

order.formattedAddresses.deliveryAddress.postalCode ~ ' ' ~ order.formattedAddresses.deliveryAddress.town

Delivery address Town

order.formattedAddresses.deliveryAddress.town

Delivery address Postcode

order.formattedAddresses.deliveryAddress.postalCode

Delivery address Country

order.formattedAddresses.deliveryAddress.country.name

Delivery address Country ID

order.formattedAddresses.deliveryAddress.country.id

Delivery address Country ISO code 2

order.formattedAddresses.deliveryAddress.country.isoCode2

Delivery address Country ISO code 3

order.formattedAddresses.deliveryAddress.country.isoCode3

Delivery address State

order.formattedAddresses.deliveryAddress.state.name

Variables in the Order / Invoice address sub-category
Name of the variable Twig expression

Invoice address First name and last name

order.formattedAddresses.invoiceAddress.name2 ~ ' ' ~ order.formattedAddresses.invoiceAddress.name3

Invoice address Additional address information

order.formattedAddresses.invoiceAddress.address3

Invoice address First name

order.formattedAddresses.invoiceAddress.name2

Invoice address Last name

order.formattedAddresses.invoiceAddress.name3

Invoice address Company name

order.formattedAddresses.invoiceAddress.name1

Invoice address Contact person

order.formattedAddresses.invoiceAddress.formattedOptions.contactPerson

Invoice address Telephone

order.formattedAddresses.invoiceAddress.formattedOptions.telephone

Invoice address Street

order.formattedAddresses.invoiceAddress.address1

Invoice address Postcode and town

order.formattedAddresses.invoiceAddress.postalCode ~ ' ' ~ order.formattedAddresses.invoiceAddress.town

Invoice address Town

order.formattedAddresses.invoiceAddress.town

Invoice address Postcode

order.formattedAddresses.invoiceAddress.postalCode

Invoice address Country

order.formattedAddresses.invoiceAddress.country.name

Invoice address Country ID

order.formattedAddresses.invoiceAddress.country.id

Invoice address Country ISO code 2

order.formattedAddresses.invoiceAddress.country.isoCode2

Invoice address Country ISO code 3

order.formattedAddresses.invoiceAddress.country.isoCode3

Invoice address State

order.formattedAddresses.invoiceAddress.state.name

Variables in the Order / Order items sub-category
Name of the variable Explanation Twig expression

Item ID

orderItem.variation.itemId

Item properties

orderItem.formattedProperties.all

Item number

orderItem.variation.item.ArtNo

Status ID of the returned item

orderItem.formattedReturn.statusId

Name of the returned item

orderItem.formattedReturn.statusLabel

Variation number

orderItem.variation.number

Item name

orderItem.orderItemName

Item quantity

orderItem.quantity

Gross price

orderItem.formattedAmounts.grossPrice

Net price

orderItem.formattedAmounts.netPrice

VAT rate

orderItem.vatRate

Referrers

orderItem.formattedReferrer.referrerName

External item ID

orderItem.variation.item.external_article_id

External variation ID

orderItem.variation.externalId

External token ID

orderItem.formattedExternalTokenId

Content

orderItem.formattedUnit.unitContent

Unit

orderItem.formattedUnit.unitName

Variation name

orderItem.variation.name

Variation ID

orderItem.variation.id

Attribute values

orderItem.attributeValues

Model

Model name of the item

orderItem.variation.model

GTIN

Global Trade Item Number (GTIN) of the item

orderItem.formattedBarcodes.GTIN

ISBN

ISBN code of the item

orderItem.formattedBarcodes.ISBN

ASIN

Amazon Standard Ident Number (ASIN) of the item

orderItem.formattedBarcodes.ASIN

Availability text

Name of the item availability of the net stock

orderItem.formattedAvailability.availabilityName

Availability ID

ID of the item availability of the net stock

orderItem.formattedAvailability.availabilityId

Availability text physical stock

Name of the item availability of the physical stock

orderItem.formattedAvailability.availabilityPhysicalStockName

Availability ID physical stock

ID of the item availability of the physical stock

orderItem.formattedAvailability.availabilityPhysicalStockId

Free text field 1

Free text fields for the items as they are saved in the Setup » Items » Free text fields menu.
Example: Free text field 3 displays the text that is saved in Field 3.

orderItem.variation.item.free1

Free text field 2

orderItem.variation.item.free2

Free text field 3

orderItem.variation.item.free3

Free text field 4

orderItem.variation.item.free4

Free text field 5

orderItem.variation.item.free5

Free text field 6

orderItem.variation.item.free6

Free text field 7

orderItem.variation.item.free7

Free text field 8

orderItem.variation.item.free8

Free text field 9

orderItem.variation.item.free9

Free text field 10

orderItem.variation.item.free10

Free text field 11

orderItem.variation.item.free11

Free text field 12

orderItem.variation.item.free12

Free text field 13

orderItem.variation.item.free13

Free text field 14

orderItem.variation.item.free14

Free text field 15

orderItem.variation.item.free15

Free text field 16

orderItem.variation.item.free16

Free text field 17

orderItem.variation.item.free17

Free text field 18

orderItem.variation.item.free18

Free text field 19

orderItem.variation.item.free19

Free text field 20

orderItem.variation.item.free20

URL to variation image

Returns the URL to the variation image.

orderItem.formattedImageUrl

Manufacturer name

orderItem.variation.item.producer

Warehouse ID

orderItem.warehouseId

Return comment

orderItem.formattedReturn.comment

Value of the return in percent

orderItem.formattedReturn.percentage

ID of return reason

ID of the return reason as it is saved in the Setup » Orders » Order types » Return menu.

orderItem.formattedReturn.reasonId

Return reason

Name of the return reason as it is saved in the Setup » Orders » Order types » Return menu.

orderItem.formattedReturn.reasonLabel

Codes of a coupon

orderItem.formattedVoucherCodes

Customs tariff number

orderItem.variation.customsTariffNumber

Release date

orderItem.variation.releasedAt

Total price (unit price x quantity)

orderItem.formattedAmounts.totalPrice

Discount per order item

orderItem.formattedAmounts.discount

URL to the item

Returns the URL to the item in the online shop.

orderItem.formattedLink

Variables in the Order / Shipping sub-category
Name of the variable Explanation Twig expression

Possible delivery date

order.formattedDates.earliestDeliveryDate

Estimated shipping date

order.formattedDates.estimatedShippingDate

Date when the return was received

order.formattedDates.returnDate

Estimated delivery date

order.formattedDates.estimatedDeliveryDate

Return package number

order.returns_code

Total shipping costs

order.formattedGeneral.shippingCosts

Package number list

Package numbers/tracking numbers are saved in the orders Settings tab at the shipping service provider after the order was successfully registered.

order.formattedShipping.packageNumberList

Tracking URL

The tracking URL is used to track shipments. The URL is saved in the Setup » Orders » Shipping » Settings menu in the Shipping service provider tab.

order.formattedShipping.trackingURL

Shipping service provider

Name of the shipping service provider as it is saved in the Setup » Orders » Shipping » Settings menu in the Shipping service provider tab.

order.formattedShipping.providerName

Shipping service provider ID

Is automatically saved by the system. You can find the ID of the shipping service provider in the Setup » Orders » Shipping » Settings menu in the Shipping service provider tab.

order.formattedShipping.providerId

Shipping profile

Name of the shipping profile as it is saved in the Setup » Orders » Shipping » Settings menu in the Shipping profiles tab.

order.formattedShipping.profileName

Shipping profile ID

Is automatically saved by the system. You can find the ID of the shipping profile in the Setup » Orders » Shipping » Settings menu in the Shipping profiles tab.

order.formattedShipping.profileId

Delivery note ID

order.formattedDocuments.deliveryNote

Reorder Delivery date

order.formattedReorder.estimatedDeliveryDate

Variables in the Contact category
Name of the variable Explanation Twig expression

Contact ID

contact.id

First name

contact.firstName

Last name

contact.lastName

Full name

contact.fullName

Gender

If gender is male, male is shown.
If gender is female, female is shown.
If gender is diverse, an empty option is shown.

contact.gender is same as ('diverse') ? '' : contact.gender

Form of address

contact.formattedSalutation.label

Salutation business

contact.formattedOptions.salutationWork

Salutation private

contact.formattedOptions.salutationPrivate

Company name

contact.formattedAccounts.companyName

Language

Language as saved in the contact data record. If you created an email template in the selected language, the email templates are sent to the contact in this language.

contact.lang

Class

Class that is assigned to the contact. Classes are created in the Setup » CRM » Customer classes menu.

contact.formattedClass.name

Number

Additional number for the contact.

contact.number

Title

contact.title

First and last name of the system user

First name and last name of the system user who is saved as owner in the contact data record.

contact.formattedUser.realName

Signature of the system user

Signature of the system user who is saved as owner in the contact data record, in text format.

contact.formattedUser.signatureNoHtml

Signature of the system user in HTML format

Signature of the system user who is saved as owner in the contact data record (in HTML format).

contact.formattedUser.signatureHtml

Account holder (contact)

Account holder as saved in the contact data record.

contact.formattedBanks.accountOwner

Bank name of the contact

Bank name as saved in the contact data record.

contact.formattedBanks.bankName

IBAN of the contact

IBAN as saved in the contact data record.

contact.formattedBanks.iban

BIC of the contact

BIC as saved in the contact data record.

contact.formattedBanks.bic

Number of orders

contact.formattedOrdersCount

Newsletter: Confirmation by contact

Date when the contact has confirmed the newsletter receipt.
Date format in the email: mm-dd-yyyy.
In the contact data record, the timestamp in the format 00:00:00 is also saved in addition to the date in the format dd-mm-yyyy.

contact.newsletterAllowanceAt

Variables in the Contact / Delivery address sub-category
Name of the variable Twig expression

Delivery address First name and last name

contact.formattedAddresses.deliveryAddress.name2 ~ ' ' ~ contact.formattedAddresses.deliveryAddress.name3

Delivery address Additional address information

contact.formattedAddresses.deliveryAddress.address3 ~ ' ' ~ contact.formattedAddresses.deliveryAddress.address4

Delivery address First name

contact.formattedAddresses.deliveryAddress.name2

Delivery address Last name

contact.formattedAddresses.deliveryAddress.name3

Delivery address Company name

contact.formattedAddresses.deliveryAddress.name1

Delivery address Telephone

contact.formattedAddresses.deliveryAddress.formattedOptions.telephone

Delivery address Street

contact.formattedAddresses.deliveryAddress.address1 ~ ' ' ~ contact.formattedAddresses.deliveryAddress.address2

Delivery address Postcode and town

contact.formattedAddresses.deliveryAddress.postalCode ~ ' ' ~ contact.formattedAddresses.deliveryAddress.town

Delivery address Town

contact.formattedAddresses.deliveryAddress.town

Delivery address Postcode

contact.formattedAddresses.deliveryAddress.postalCode

Delivery address Country

contact.formattedAddresses.deliveryAddress.country.name

Delivery address Country ID

contact.formattedAddresses.deliveryAddress.country.id

Delivery address Country ISO code 2

contact.formattedAddresses.deliveryAddress.country.isoCode2

Delivery address Country ISO code 3

contact.formattedAddresses.deliveryAddress.country.isoCode3

Delivery address State

contact.formattedAddresses.deliveryAddress.state.name

Variables in the Contact / Invoice address sub-category
Name of the variable Twig expression

Invoice address First name and last name

contact.formattedAddresses.invoiceAddress.name2 ~ ' ' ~ contact.formattedAddresses.invoiceAddress.name3

Invoice address Additional address information

contact.formattedAddresses.invoiceAddress.address3 ~ ' ' ~ contact.formattedAddresses.invoiceAddress.address4

Invoice address First name

contact.formattedAddresses.invoiceAddress.name2

Invoice address Last name

contact.formattedAddresses.invoiceAddress.name3

Invoice address Company name

contact.formattedAddresses.invoiceAddress.name1

Invoice address Telephone

contact.formattedAddresses.invoiceAddress.formattedOptions.telephone

Invoice address Street

contact.formattedAddresses.invoiceAddress.address1 ~ ' ' ~ contact.formattedAddresses.invoiceAddress.address2

Invoice address Postcode and town

contact.formattedAddresses.invoiceAddress.postalCode ~ ' ' ~ contact.formattedAddresses.invoiceAddress.town

Invoice address Town

contact.formattedAddresses.invoiceAddress.town

Invoice address Postcode

contact.formattedAddresses.invoiceAddress.postalCode

Invoice address Country

contact.formattedAddresses.invoiceAddress.country.name

Invoice address Country ID

contact.formattedAddresses.invoiceAddress.country.id

Invoice address Country ISO code 2

contact.formattedAddresses.invoiceAddress.country.isoCode2

Invoice address Country ISO code 3

contact.formattedAddresses.invoiceAddress.country.isoCode3

Invoice address State

contact.formattedAddresses.invoiceAddress.state.name

Variables in the Contact / Options sub-category
Name of the variable Twig expression

Email private

contact.formattedOptions.emailPrivate

Phone private

contact.formattedOptions.telephonePrivate

Mobile private

contact.formattedOptions.telephoneMobilePrivate

Fax private

contact.formattedOptions.telefaxPrivate

Email business

contact.formattedOptions.emailWork

Phone business

contact.formattedOptions.telephoneWork

Mobile business

contact.formattedOptions.telephoneMobileWork

Fax business

contact.formattedOptions.telefaxWork

eBay name

contact.formattedOptions.marketplaceEbay

PayPal email address

contact.formattedOptions.emailPayPal

Additional contact person

contact.formattedOptions.additionalContactPerson

Variables in the Global category
Name of the variable Explanation Twig expression

URL to checkout

Returns the URL to the checkout area of the order in the online shop.

globals.links.linkCheckout

URL to basket

Returns the URL to the basket in the online shop.

globals.links.linkBasket

URL to Terms and Conditions

Returns the URL for the terms and conditions.

globals.links.linkTermsConditions

URL to online shop

Returns the URL of the online shop.

globals.links.linkWebstore

URL to new password

Returns the URL to a form that allows to create a new password. The contact enters their email address in this form.

globals.links.linkNewPassword

URL to change password

Returns the URL for the Change password area in the online shop. The contact can enter a new password.

globals.links.linkChangePassword

URL to confirm email address

Returns the URL to confirm the email address change of the contact.

globals.account.newCustomerEmail

Cancellation rights in HTML format

Go to Setup » Client » [Select client] » Online store » Legal » [Expand language]. Click on the Cancellation rights tab and save the text in the HTML tab.

globals.legalInformation.cancellationRights.html

Cancellation rights in plain text

Go to Setup » Client » [Select client] » Online store » Legal » [Expand language]. Click on the Cancellation rights tab and save the text in the Text tab.

globals.legalInformation.cancellationRights.plain

Privacy policy in plain text

Go to Setup » Client » [Select client] » Online store » Legal » [Expand language]. Click on the Privacy policy tab and save the text in the Text tab.

globals.legalInformation.privacyPolicy.plain

Privacy policy in HTML format

Go to Setup » Client » [Select client] » Online store » Legal » [Expand language]. Click on the Privacy policy tab and save the text in the HTML tab.

globals.legalInformation.privacyPolicy.html

Legal disclosure in plain text

Go to Setup » Client » [Select client] » Online store » Legal » [Expand language]. Click on the Legal disclosure tab and save the text in the Text tab.

globals.legalInformation.legalDisclosure.plain

Legal disclosure in HTML format

Go to Setup » Client » [Select client] » Online store » Legal » [Expand language]. Click on the Legal disclosure tab and save the text in the HTML tab.

globals.legalInformation.withdrawalForm.html

Cancellation form in plain text

Go to Setup » Client » [Select client] » Online store » Legal » [Expand language]. Click on the Cancellation form and save the text in the Text tab.

globals.legalInformation.withdrawalForm.plain

Cancellation form in HTML format

Go to Setup » Client » [Select client] » Online store » Legal » [Expand language]. Click on the Cancellation form tab and save the text in the *HTML *tab.

globals.legalInformation.withdrawalForm.html

Today’s date

Returns today’s date in the format dd-mm-yyyy.

`"now"

date("d-m-Y")`

Bank name (master data)

Bank name from the master data of your plentymarkets system. Is saved in the Basics assistant in the Bank details step. You can find the assistant in the Setup » Assistants » Basic settings menu.
As an alternative, you can find the saved bank name in the Setup » Settings » Bank menu.

globals.bank.name

IBAN (master data)

IBAN from the master data of your plentymarkets system. Is saved in the Basics assistant in the Bank details step. You can find the assistant in the Setup » Assistants » Basic settings menu.
As an alternative, you can find the saved IBAN in the Setup » Settings » Bank menu.

globals.bank.iban

BIC (master data)

BIC from the master data of your plentymarkets system. Is saved in the Basics assistant in the Bank details step. You can find the assistant in the Setup » Assistants » Basic settings menu.
As an alternative, you can find the saved BIC in the Setup » Settings » Bank menu.

globals.bank.bic

Account holder (master data)

Account holder from the master data of your plentymarkets system. Is saved in the Basics assistant in the Bank details step. You can find the assistant in the Setup » Assistants » Basic settings menu.
As an alternative, you can find the account holder in the Setup » Settings » Bank menu.

globals.bank.owner

Signature in plain text

The signature is saved in the Setup » Client » [Select client] » Email » Signature menu in the Plain text signature area.

globals.account.signatureText

Signature in HTML format

The signature is saved in the Setup » Client » [Select client] » Email » Signature menu in the HTML signature area.

globals.account.signatureHTML

Coupon code (1)

Coupon codes are generated in the campaign in the Orders » Coupons menu. A coupon code can always be assigned to only one campaign to send this coupon code from the campaign in an email template.

globals.coupons.couponCode1

Coupon code (2)

globals.coupons.couponCode2

Coupon code (3)

globals.coupons.couponCode3

Coupon code (4)

globals.coupons.couponCode4

Coupon code (5)

globals.coupons.couponCode5

Coupon code (6)

globals.coupons.couponCode6

Coupon code (7)

globals.coupons.couponCode7

Coupon code (8)

globals.coupons.couponCode8

Coupon code (9)

globals.coupons.couponCode9

Coupon code (10)

globals.coupons.couponCode10

EORI number

Unique identification number that is required for customs-related procedures.

Variables in the Newsletter category
Name of the variable Explanation Twig expression

URL for confirming the newsletter receipt

Returns the URL to confirm the newsletter subscription.

newsletter.formattedConfirmUrl

5. Automating the email despatch

You have multiple options in plentymarkets to automate the email despatch to your customers.

5.1. Setting up automatic emails

The Setup» Client » [Select client] » Email » Automatic menu contains various events that can be linked with a template. Select from the drop-down list the template that you created before in the CRM » EmailBuilder (Test phase) menu. This ensures that the email template is sent to your contacts once the event occurs.

Removing the link before deleting the email template

Deleting an email template that is linked with an event in the Automatic email area may lead to undesired effects. Therefore, first go to Setup » Client » [Select client] » Email » Automatic and remove the link by selecting the option Do not send from the drop-down list in the line of the event. Afterwards, delete the template in the CRM » EmailBuilder (Test phase) menu.

Setting up the automatic email despatch:

  1. Go to Setup » Client » [Select client] » Email » Automatic.

  2. Select a template from the drop-down list in the line of the event. Note Table 6.

  3. Save () the settings.

Table 6. Explanations about some events for the automatic despatch
Setting Explanation

New order from online store

The contacts receive an email including the order confirmation after the purchase has been completed in the online shop.
Note: If your customers should be able to access the order processing in your online shop with this email to see the order status, you have to insert the variable URL to checkout in the template that you select for this automatic event.

Send customer email to change password

The contacts receive an email with a link to the new password. The link has to be actively confirmed. The variable URL to change password has to be contained in the template.

Newsletter opt-in

The contacts receive an email when they have registered for the newsletter. The template should include the confirmation link that the contacts have to click in order to complete the newsletter registration process: URL to confirm newsletter subscription.

Newsletter opt-in confirmation

The contacts receive a confirmation email once they have activated the confirmation link that was sent with the email template for the Newsletter opt-in event.

Email when item becomes available

The contacts receive an email containing the information that a certain item is available again. Requirement: The contacts have entered their email address in the online shop directly next to the item that could not be delivered at that time.

5.2. Setting up event procedures

It is also possible to set up event procedures in the Setup » Orders » Events menu. Define an event, activate one or more filters and decide which procedures your plentymarkets system should carry out automatically when the event occurs.

For example, you can use filters to trigger a procedure once a contact has placed a certain number of orders. The procedure could send an email that includes a coupon. For further information, refer to the Event procedures page.

Email despatch to multiple email addresses

Go to Setup » Orders » Events to set up an event procedure that will send an email to your customers and employees when the event that you determined occurs.

Add in the event procedure the procedure Customer > Send email and select the appropriate template as well as the recipients to send the email to multiple recipients at the same time once the selected event occurs.

The following recipients are available:

  • Customer

  • Storage

  • Invoice address from order

  • Invoice address from order

  • Contact email business

  • Contact email private

  • Contact email PayPal

  • available owners

You can either send the same template to all recipients or select a separate template each.

6. Code examples for the code widget

Use if queries in your email templates to display specific information on a case-by-case basis. In the following, you find some if queries that you can simply copy to your code widget.

6.1. Code example: Shipping profile

Insert a code that causes a note regarding the freight-forwarding company and contacting to only be displayed in the email to your customers if the shipping service provider in the shipping profile is a freight-forwarding company. In our example the shipping profile with the freight-forwarding company has the ID 6.

Click on this link  to see the code example.

6.2. Code example: Bank details

Insert a code that causes bank details to only be displayed in the email to your customers if Cash in advance (ID 0) was selected as payment method in your plentyShop.

Click on this link  to see the code example.

6.3. Code example: Order items

Insert a code that causes the order items with the variation IDs, the item names, the item quantity and the price to be shown in a table.

Click on this link  to see the code example.

To top