Skip to content

Instantly share code, notes, and snippets.

@teosz
Created March 3, 2015 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teosz/741a27242b547c277845 to your computer and use it in GitHub Desktop.
Save teosz/741a27242b547c277845 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<config>
<modules>
<Some_Custom>
<version>1.0.0</version>
<active>true</active>
<codePool>local</codePool>
</Some_Custom>
</modules>
<global>
<models>
<check>
<class>Some_Custom_Sales_Model</class>
</check>
</models>
<resources>
<check_setup>
<setup>
<module>Some_Custom</module>
</setup>
<connection>
<use>core_setup</use>
</connection>
</check_setup>
<check_write>
<connection>
<use>core_write</use>
</connection>
</check_write>
<check_read>
<connection>
<use>core_read</use>
</connection>
</check_read>
</resources>
<fieldsets>
<sales_copy_order_billing_address>
<my_custom_atribute><to_order>*</to_order></my_custom_atribute>
</sales_copy_order_billing_address>
<!--<sales_copy_order_shipping_address>
<my_custom_atribute><to_order>*</to_order></my_custom_atribute>
</sales_copy_order_shipping_address>-->
<sales_convert_quote_address>
<my_custom_atribute><to_order_address>*</to_order_address><to_customer_address>*</to_customer_address></my_custom_atribute>
</sales_convert_quote_address>
<sales_convert_order_address>
<my_custom_atribute><to_quote_address>*</to_quote_address></my_custom_atribute>
</sales_convert_order_address>
<customer_address>
<my_custom_atribute><to_quote_address>*</to_quote_address></my_custom_atribute>
</customer_address>
<checkout_onepage_billing>
<my_custom_atribute><to_customer>*</to_customer></my_custom_atribute>
</checkout_onepage_billing>
</fieldsets>
</global>
<admin>
<fieldsets>
<customer_dataflow>
<my_custom_atribute><billing>1</billing><!--<shipping>1</shipping>--></my_custom_atribute>
</customer_dataflow>
</fieldsets>
</admin>
<default>
<customer>
<address_templates>
<text><![CDATA[{{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}} ........
</customer>
</default>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment