MageWorx_MultiFees

by Peter D.
1. Open app/code/local/MageWorx/MultiFees/etc/config.xml. 2. Find the following lines:
<controller_action_predispatch_checkout_onepage_savePayment>
<observers>
<multifees>
<type>singleton</type>
<class>MageWorx_MultiFees_Model_Observer</class>
<method>getCheckoutPaymentMethod</method>
</multifees>
</observers>
</controller_action_predispatch_checkout_onepage_savePayment>
3. Replace them with:
<controller_action_predispatch_checkout_onepage_savePayment>
<observers>
<multifees>
<type>singleton</type>
<class>MageWorx_MultiFees_Model_Observer</class>
<method>getCheckoutPaymentMethod</method>
</multifees>
</observers>
</controller_action_predispatch_checkout_onepage_savePayment>
<controller_action_predispatch_firecheckout_index_saveShippingMethod>
<observers>
<multifees>
<type>singleton</type>
<class>MageWorx_MultiFees_Model_Observer</class>
<method>getCheckoutShippingMethod</method>
</multifees>
</observers>
</controller_action_predispatch_firecheckout_index_saveShippingMethod>
<controller_action_predispatch_firecheckout_index_savePayment>
<observers>
<multifees>
<type>singleton</type>
<class>MageWorx_MultiFees_Model_Observer</class>
<method>getCheckoutPaymentMethod</method>
</multifees>
</observers>
</controller_action_predispatch_firecheckout_index_savePayment>
4. Save the file.

5. Open app/code/local/MageWorx/MultiFees/Model/Observer.php and find the following line:
$method = $observer->getRequest()->getParam('shipping_method');
6. Replace it with:
$method = Mage::app()->getRequest()->getParam('shipping_method');
7. Save the file and clear cache.

Recent articles

Get Discount!

Get your personal discount !

Like us on Facebook, post a Tweet or rate us at Google Plus to get instant 10% OFF on any purchase from our store.

Please make your choice
Discount Coupon Code

Back to top