Technology + People + Process

How to Display a customer’s first and last names on the invoice in Kentico

How to Display a customer’s first and last names on the invoice in Kentico

If you want to display a customer’s first name and last name on the invoice, you can go to the CMS Desk > E-commerce > Configuration > Invoice tab and add the following macros to the template:

******************************************************************************

{% EcommerceContext.CurrentCustomer.CustomerFirstName |(user)chandana|(hash)1ebe20029c5198a5ac4963b777cbcb94aa0cf848e3c61f9263ae632039bab6d9%}

{% EcommerceContext.CurrentCustomer.CustomerLastName|(user)chandana|(hash)9d3328094fb0d71f4d5cc69a1c4d01dc40861cab05678029cd90d25e3c2b8e62%}

******************************************************************************

 

Please remove the spaces before the last brackets, if you copy the strings.


Request for Quote

Drop us a line and we'll get in touch with you as quick as we can