Hi Team,
I am exploring "Adding Customer Attribute Tutorial" @ http://www.broadleafcommerce.com/docs/c ... e-tutorial.
I have notice that the below line of code having compilation error.
// Update our customer object
newCustomer.getCustomerAttributes().add(referralCodeAttr);
Issue1 : Seems newCustomer.getCustomerAttributes() return type is Map and Map dont have add() method.
Issue2 : Seems newCustomer.getCustomerAttributes() return type is Map and expecting the KEY,VALUE pair.
Please have look and update the code snippet accordingly.
Thanks in advance.
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.