how to add custom field
Posted: Thu Aug 30, 2012 4:08 am
Using this http://docs.broadleafcommerce.org/curre ... orial.html link I create a extra text box in Registration Page, and it run ok. But now I want to show this field in the success page.
How can I do that.
I used this
<a class="my-account" th:text="${customer.referralCode}"></a>
but it is giving an error.
and
in the header.html
<a class="my-account" th:href="@{/account}" th:text="${customer.firstName}"></a>
--> it gives the user name.
<a class="my-account" th:text="${customer.lastName}"></a>
use this to print last name.
but
how can I print referralCode
How can I do that.
I used this
<a class="my-account" th:text="${customer.referralCode}"></a>
but it is giving an error.
and
in the header.html
<a class="my-account" th:href="@{/account}" th:text="${customer.firstName}"></a>
--> it gives the user name.
<a class="my-account" th:text="${customer.lastName}"></a>
use this to print last name.
but
how can I print referralCode