neonlines Shopware 6 Plugins
Produkt-KonfiguratorMeterware-Plugin
Meterware | Artikel verkaufen nach Einheit
Meterware | Artikel verkaufen nach Einheit
  • Überblick
    • Installation
    • Einstellungen
    • Preisberechnung
  • Weitere Einstellungen
    • Staffelpreise
    • Versandkostenregeln mit dem Rule Builder
    • Lagerbestand
    • E-Mail Templates
      • HTML Mail
      • Plaintext Mail
    • PDF Templates
    • Textbausteine
    • Produktfeeds / Google Shopping
  • Schnittstelle & Daten
    • Artikeldaten
    • Bestelldaten
Powered by GitBook
On this page
  1. Weitere Einstellungen
  2. E-Mail Templates

Plaintext Mail

Einheiten und Menge korrekt ausgeben

Die Zeile

{{ loop.index }} 

Durch diesen Code ersetzen

 {{ loop.index }}     {% if lineItem.payload.neon_unitarticles is defined and lineItem.payload.neon_unitarticles.dimensions is defined %}{% if lineItem.payload.neon_unitarticles is defined and lineItem.payload.neon_unitarticles.surcharges is defined %}{% for surcharge in lineItem.payload.neon_unitarticles.surcharges %}{% if surcharge.value > 0 %}inkl. {{ surcharge.label }}:{{ surcharge.value|currency(currencyIsoCode)}}{% endif %}{% endfor %}{% endif %}{% endif %}{% if lineItem.payload.options is defined and lineItem.payload.options|length >= 1 %}, {% for option in lineItem.payload.options %}{{ option.group }}: {{ option.option }}{% if lineItem.payload.options|last != option %}{{ " | " }}{% endif %}{% endfor %}{% endif %}    {% if lineItem.payload.neon_unitarticles is defined and lineItem.payload.neon_unitarticles.isQuantityHidden %}1{%  else %}{{ lineItem.quantity }}{%  endif %}{{ lineItem.unitPrice|currency(currencyIsoCode) }}{{ lineItem.totalPrice|currency(currencyIsoCode) }}
PreviousHTML MailNextPDF Templates

Last updated 1 year ago