--- title: "Transactional email template with parameters" slug: "transactional-email-template-with-parameters" updated: 2024-03-18T10:37:10Z published: 2024-03-18T10:37:10Z canonical: "docs.mapp.com/transactional-email-template-with-parameters" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Transactional email template with parameters Example of a prepared order email template ```xml    

Dear    <%user.firstname%>      <%user.lastname%>  

 

Thank you for shopping , please see your order no. <%${product['orderId']}%> details below:

 
                                                                                   
           

Billing Info

           

             <%parameter.billingAddress%>            

         
           

Shipping Info

           

             <%parameter.shippingAddress%>            

         
           

Payment Method

           

             <%parameter.paymentInfo%>            

         
           

Shipping Method

           

             <%parameter.shippingMethod%>            

             <%InsertIf expression="${not empty parameter['shippingMessage']}" id="1"%>              

Shipping message:

             

               <%parameter.shippingMessage%>              

             <%/InsertIf%>          
       <%ForEach var="product" items="${transaction_details}"%>                                                
                                                                                                                               
                                                   
                                                                                                                                                                                                                                                   
                                                                             <%${product['brand']}%>                                                                            
                                                                             <%${product['productName']}%>                                                                            
                                                                             Quantity: <%${product['productQuantity']}%>, Price per item: <%${product['productPrice']}%> <%${product['currency']}%>                                                                            
                 
           
       <%/ForEach%>                                                                          
               

Shiping Price:

               

                 <%parameter.shippingTotal%>                

             
               

Order items total:

               

                 <%parameter.orderItemsTotal%>                

             
           
         

TOTAL:            <%parameter.orderTotal%>              <%${product['currency']}%>          

         
           

Greetings!

  ```