Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Overload Model Customer_Attribute (Mage_Customer_Model_Customer_Attribute_Backend_Billing)
 
Moinul Al-Mamun
Jr. Member
 
Avatar
Total Posts:  12
Joined:  2008-10-23
Dhaka
 

Hi,
I want to extend the customer attribute model of Magento. I succeeded in overloading the model class Mage_Customer_Model_Customer, entity class Mage_Customer_Model_Entity_Address but I can’t overload the customer_attribute_backend (Mage_Customer_Model_Customer_Attribute_Backend_Billing) class. Here is my config.xml file :

<?xml version="1.0"?>
<config>
    <
modules>
        <
Click2mail_Customer>
            <
version>0.1.0</version>
        </
Click2mail_Customer>
    </
modules>

    <global>
        <
models>
             <
customer_customer_attribute_backend>
                <
rewrite>
                       <
billing>Click2mail_Customer_Model_Customer_Attribute_Backend_Billing</billing>
               </
rewrite>
            </
customer_customer_attribute_backend>
        </
models>
    </global>
</
config>

can any one help me pls. Thanks for your response smile

Moinul

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moinul Al-Mamun
Jr. Member
 
Avatar
Total Posts:  12
Joined:  2008-10-23
Dhaka
 

Can any one help please ?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top