I needed to create two new customer attributes. I have followed the guide from: http://www.fontis.com.au/blog/magento/know-more-about-your-customers-adding-custom-signup-attributes
to create these attributes. I have checked the 'eav_attribute' table in the database and can confirm that both attribute exists. The only thing was that I didn't know how to create a checkbox attribute so I have created both attributes as 'Yes/No'.
from following the code on how to display the field on the registration form I have done:
<li class="control"> <div class="input-box"> <label for="publisheroffer"><?php echo $this->__('Publisher Offer') ?><span class="required">*</span></label><br /> <input type="checkbox" name="publisheroffer" id="publisheroffer" value="<?php echo $this->htmlEscape($this->getFormData()->getPublisheroffer()) ?>" title="<?php echo $this->__('Publisher Offer') ?>" class="input-text" /> </div> </li>
Where the attribute id is 'publisheroffer'. When the account is created it creates fine but the custom attribute fields don't change.
How do I display this attribute as a checkbox on the registration page, and how to process the values.
Thanks for all the help in advance.