I'm attempting to overwrite adminhtml/model/sales/order/create.php
, specifically public function initFromOrderItem
.
Text output shows the function I've overwritten is not loading to the site.
In app/etc/modules/GoddessDelivers_QObugfux.xml
<config>
<modules>
<GoddessDelivers_QObugfix> <!-- app/code/<codepool>/GoddessDelivers/QObugfix -->
<active>true</active>
<codePool>local</codePool>
<depends>
<Mage_Core />
</depends>
</GoddessDelivers_QObugfix>
</modules>
</config>
In app/code/local/GoddessDelivers/QObugfix/etc/config.xml
<config>
<modules>
<GoddessDelivers_QObugfix>
<version>0.0.0.1</version>
</GoddessDelivers_QObugfix>
</modules>
<global>
<adminhtml>
<sales>
<order>
<rewrite>
<create>GoddessDelivers_QObugfix_Adminhtml_Model_Sales_Order_Create</create>
</rewrite>
</order>
</sales>
</adminhtml>
</global>
</config>
In app/code/local/GoddessDelivers/QObugfix/Adminhtml/Model/Sales/Order/Create.php
:
class GoddessDelivers_QObugfix_Adminhtml_Model_Sales_Order_Create
extends Mage_Adminhtml_Model_Sales_Order_Create {
public function initFromOrderItem(Mage_Sales_Model_Order_Item $orderItem, $qty = null)
{
What am I doing wrong?