Skip to main content

Customizing dropshipping email templates

The dropshipping email can be customized like any other email template through the backend. To do so, open the template ViisonDropShippingEMail under Settings Email templates → User emails.

Available variables

You can find the available variables on the right-hand side of the email template window when you click the Example variables button.

image5.png

For each dropShippingItem, the corresponding information about the product (article) and variant (articleDetail) is attached. Since this information might be removed in the meantime, you should check whether the value is still present. Here's an example:

{if $details.articleDetail.weight} Gewicht: $details.articleDetail.weight {/if}

Examples of using the variables

Payment method

{if $payment == 'Nachnahme' || $payment == 'Paypal'}Bezahlung

-------------

{$payment}

{/if}

Comments

Kundenkommentar: {$customerComment}

Shop-Kommentar: {$orderComment}

Individual order line items

Using the variable $dropShippingItems, you can access all attributes of the order line items, including the information from the Custom Products Plugin.

{foreach item=details key=position from=$dropShippingItems}

Artikelname: {$details.name|wordwrap:49}

Hersteller-Nr.: {$details.suppliernumber}

Artikel-Nr.: {$details.articleordernumber}

Menge: {$details.quantity}

{if $details.customproducts}Custom Product Information:

{foreach item=values key=name from=$details.customproducts}

{$name}:

{foreach item=value key=index from=$values}

{$value}

{/foreach}

{/foreach}{/if}

{/foreach}
Did this answer your question?