お返事ありがとうございます。代わりにいくつかの追加のアドレス属性を使用して解決策を見つけました。これは、はるかに簡単だったからです(ただし、多くの検索が必要でした)。
だから解決策は..
<?php
//Attribute to add
$newAttributeName = "rfc"; //modify this with the name of your attribute
//a) Add EAV Attributes (modify as you needed)
$attribute = array(
'type' => 'varchar',
'label' => 'RFC',
'visible' => true,
'required' => false,
'user_defined' => true,
'searchable' => false,
'filterable' => false,
'comparable' => false,
);
$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
//Add to customer
$setup->addAttribute('customer_address', $newAttributeName, $attribute);
/* this is not working for some reason. add the columns manually
//b) Add Quote attributes (one page step to step save field)
$setup = new Mage_Sales_Model_Mysql4_Setup('sales_setup');
$setup->getConnection()->addColumn(
$setup->getTable('sales_flat_quote_address'),
$newAttributeName,
'text NULL DEFAULT NULL'
);
$setup->getConnection()->addColumn(
$setup->getTable('sales_flat_order_address'),
$newAttributeName,
'text NULL DEFAULT NULL'
);
*/
$eavConfig = Mage::getSingleton('eav/config');
$attribute = $eavConfig->getAttribute('customer_address', $newAttributeName);
$attribute->setData('used_in_forms', array('adminhtml_customer_address',
'adminhtml_checkout_address')); //'customer_register_address', 'customer_address_edit',
$attribute->save();
?>
この投稿に従ってファイルを編集します。
Magento: カスタム アドレス属性をチェックアウトに保存する