Commits

Radim Novotny  committed 4b0caed

Fixed order_detail mail template field names

  • Participants
  • Parent commits 419e0c6

Comments (0)

Files changed (2)

File lfstheme/templates/lfs/mail/order_details.html

                 {{ order.shipping_company_name }}
             </div>
             <div>
-                {{ order.shipping_street }}
+                {{ order.shipping_line1 }}
             </div>
             <div>
-                {{ order.shipping_zip_code }} {{ order.shipping_city }}
+                {{ order.shipping_line2 }}
+            </div>
+            <div>
+                {{ order.shipping_code }} {{ order.shipping_city }}
             </div>
             <div>
                 {{ order.shipping_country }}
                 {{ order.invoice_company_name }}
             </div>
             <div>
-                {{ order.invoice_street }}
+                {{ order.invoice_line1 }}
             </div>
             <div>
-                {{ order.invoice_zip_code }} {{ order.invoice_city }}
+                {{ order.invoice_line2 }}
+            </div>
+            <div>
+                {{ order.invoice_code }} {{ order.invoice_city }}
             </div>
             <div>
                 {{ order.invoice_country }}

File lfstheme/templates/lfs/mail/order_details.txt

 ==============================================================================
 {{ order.shipping_firstname }} {{ order.shipping_lastname }}
 {{ order.shipping_company_name }}
-{{ order.shipping_street }}
-{{ order.shipping_zip_code }} {{ order.shipping_city }}
+{{ order.shipping_line1 }}
+{{ order.shipping_line2 }}
+{{ order.shipping_code }} {{ order.shipping_city }}
 {{ order.shipping_country }}
 {{ order.shipping_phone }}
 {{ order.shipping_email }}
 ==============================================================================
 {{ order.invoice_firstname }} {{ order.invoice_lastname }}
 {{ order.invoice_company_name }}
-{{ order.invoice_street }}
-{{ order.invoice_zip_code }} {{ order.invoice_city }}
+{{ order.invoice_line1 }}
+{{ order.invoice_line2 }}
+{{ order.invoice_code }} {{ order.invoice_city }}
 {{ order.invoice_country }}
 {{ order.invoice_phone }}
 {{ order.invoice_email }}