I just cant figure out where im going wrong.. can someone tell me?
app/etc/modules/Mynamespace_CheckoutOverrides.xml
<?xml version="1.0"?>
<config>
<modules>
<Mynamespace_CheckoutOverrides>
<active>true</active>
<codePool>local</codePool>
<depends>
<Made_Streamcheckout />
</depends>
</Mynamespace_CheckoutOverrides>
</modules>
</config>
app/code/local/Mynamespace/CheckoutOverrides/etc/config.xml
<?xml version="1.0"?>
<config>
<modules>
<Mynamespace_CheckoutOverrides>
<version>1.0.0</version>
</Mynamespace_CheckoutOverrides>
</modules>
<global>
<models>
<streamcheckout>
<rewrite>
<url>Mynamespace_CheckoutOverrides_Model</url>
</rewrite>
</streamcheckout>
</models>
</global>
</config>
app/code/local/Mynamespace/CheckoutOverrides/Model/Streamcheckout.php
<?php
class Mynamespace_CheckoutOverrides_Model_Streamcheckout extends Made_Streamcheckout_Model_Streamcheckout
{
public function saveAll($data)
{
mage::log('works');
}
}
What am i missing here? :/
The streamcheckout config:
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<Made_Streamcheckout>
<version>1.3.0</version>
</Made_Streamcheckout>
</modules>
<global>
<resources>
<streamcheckout_setup>
<setup>
<module>Made_Streamcheckout</module>
</setup>
</streamcheckout_setup>
</resources>
<models>
<streamcheckout>
<class>Made_Streamcheckout_Model</class>
<resourceModel>streamcheckout_resource</resourceModel>
</streamcheckout>
<streamcheckout_resource>
<class>Made_Streamcheckout_Model_Resource</class>
<entities>
<sales_order_additional>
<table>streamcheckout_sales_order_additional</table>
</sales_order_additional>
<sales_quote_additional>
<table>streamcheckout_sales_quote_additional</table>
</sales_quote_additional>
</entities>
</streamcheckout_resource>
<sales>
<rewrite>
<quote_address_total>Made_Streamcheckout_Model_Sales_Quote_Address_Total</quote_address_total>
</rewrite>
</sales>
</models>
</global>
</config>