Add custom fee to order Magento -


i trying add custom fee order based on delivery , collection dates order.

i using plugin delivery , collection dates http://ecommerce-team.com/delivery-date-and-comment.html

i think can work in observer.php of plugin because can see dates being received there.

i new magento development , don't know it; tried this

    $quote->getshippingaddress()->setgrandtotal($amount);  

this works , shows total new amount there user; when order placed not have new amount.

i tried this. not work.

    $order->getshippingaddress()->setgrandtotal(123);     $order->setfeeamount(12.1); 

i tried downloading , installing module; not work. tried var_dump() on module did not show on order page. means extensions not working. think if module starts working can try apply logic there. http://www.excellencemagentoblog.com/magento-add-fee-discount-order-total


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

html - Repeat image to extend header to fill screen -

javascript - Backbone.js getting target attribute -