I am trying to create a script for creating a customer programmatically in magento. I am able to store all my fields using the magento's own methods. But I have a custom field called 'landmark' which I need to save it to the customer's account. How do I do it? I am a newbie in Magento. Help needed.
Currently the code for storing all the other fields looks like this$address = Mage::getModel("customer/address");
$address->setCustomerId($customer->getId())
->setFirstname($customer->getFirstname())
->setMiddleName($customer->getMiddlename())
->setLastname($customer->getLastname())
->setCountryId('IN')
->setRegion($state)
->setPostcode($pincode)
->setCity($city)
->setTelephone($mobile)
->setStreet($addressArray)
->setIsDefaultBilling('1')
->setIsDefaultShipping('1')
->setSaveInAddressBook('1');
How do I store the value of my custom field 'landmark' to the address object?