Loading customer attributes on a page or email
Jordan Gilman avatar
Written by Jordan Gilman
Updated over a week ago

By using HAPI tags, you can include customer attribute values directly on the page. The simplest form is to enter the following tag where you want the data to be displayed. Simply replace attribute_name with the stored attribute name/group.

{@customer.attribute(attribute_name)@}

Upon rendering the page or email, it will pre-fill this attribute with the real value on file.

Alternatively you can also use the customer attributes in a conditional tag in HAPI as such:

 
  Next 6 months
 
Did this answer your question?