Die meisten E-Mail-Vorlagen haben einen Abschnitt mit vordefinierten Variablen, die spezifisch für die Vorlage sind. Die folgende Liste enthält Beispiele für häufig verwendete E-Mail-Vorlagen und die zugehörigen Variablen.
E-Mail-Vorlagen-Variablen
Variable |
Markup Tag |
|
E-Mail-Fußzeilenvorlage |
{{template config_path=”design/email/footer_template”}} |
|
E-Mail-Kopfzeilenvorlage |
{{template config_path=”design/email/header_template”}} |
|
E-Mail Logo Image Alt |
{{var logo_alt}} |
|
E-Mail Logo Bild URL |
{{var logo_url}} |
|
E-Mail Logo Bildhöhe |
{{var logo_height}} |
|
E-Mail-Logo Bildbreite |
{{var logo_width}} |
|
Vorlage CSS |
{{var template_styles |
raw}} |
Variable |
Markup Tag |
Unsichere Basis-URL |
{{config path=”web/unsecure/base_url”}} |
Sichere Basis-URL |
{{config path=”web/secure/base_url”}} |
Allgemeiner Kontaktname |
{{config path=”trans_email/ident_general/name”}} |
Allgemeiner Ansprechpartner E-Mail |
{{config path=”trans_email/ident_general/email”}} |
Kontaktname des Vertriebsmitarbeiters |
{{config path=”trans_email/ident_sales/name”}} |
Vertriebsmitarbeiter Kontakt E-Mail |
{{config path=”trans_email/ident_sales/email”}} |
Kunde1 Kontakt Name |
{{config path=”trans_email/ident_custom1/name”}} |
Benutzerdefinierter1 Kontakt E-Mail |
{{config path=”trans_email/ident_custom1/email”}} |
Benutzerdefiniert2 Kontakt Name |
{{config path=”trans_email/ident_custom2/name”}} |
Custom2 Kontakt E-Mail |
{{config path=”trans_email/ident_custom2/email”}} |
Store Name |
{{config path=”general/store_information/name”}} |
Store Telefon Telefon |
{{config path=”general/store_information/phone”}} |
Store Öffnungszeiten |
{{config path=”general/store_information/hours”}} |
Land |
{{config path=”general/store_information/country_id”}} |
Region/Bundesland |
{{config path=”general/store_information/region_id”}} |
Postleitzahl |
{{config path=”general/store_information/postcode”}} |
Stadt |
{{config path=”general/store_information/city”}} |
Straße Adresse 1 |
{{config path=”general/store_information/street_line1”}} |
Straße Adresse 2 |
{{config path=”general/store_information/street_line2”}} |
Store Kontaktadresse |
{{config path=”general/store_information/address”}} |
Neue Konto-Vorlagenvariablen
Variable |
Markup Tag |
Kundenkonto URL |
{{var this.getUrl($store, ‘customer/account/’)}} |
Kunden E-Mail |
{{var kunden.email}} |
Kundenname |
{{var kunde.name}} |
Neue Bestellvorlagen-Variablen
Variable |
Markup Tag |
|
Rechnungsadresse |
{{var formattedBillingAddress |
raw}} |
E-Mail Bestellnotiz |
{{var order.getEmailCustomerNote()}} |
|
Bestell-ID |
{{var auftrag.increment_id}} |
|
Bestellpositionen Raster |
{{layout handle=”sales_email_order_items” order=$order area=”frontend”}} |
|
Zahlungsdetails |
{{var payment_html |
raw}} |
Lieferadresse |
{{var formattedShippingAddress |
raw}} |
Versandbeschreibung |
{{var order.getShippingDescription()}} |
|