¡@

Home 

php Programming Glossary: mage_sales_model_quote_address

Magento - How do I add an invoice fee to an order during checkout process

http://stackoverflow.com/questions/4499000/magento-how-do-i-add-an-invoice-fee-to-an-order-during-checkout-process

Your_Module_Model_Quote_Address_Total_Warranty extends Mage_Sales_Model_Quote_Address_Total_Abstract public function __construct this setCode 'paymentFee'.. this setCode 'paymentFee' public function collect Mage_Sales_Model_Quote_Address address Check the payment method in use if it is yours do..... setPaymentFee fee return this public function fetch Mage_Sales_Model_Quote_Address address if address getPaymentFee address addTotal array 'code'..

Magento: adding duties/taxes to a quote during review

http://stackoverflow.com/questions/4877413/magento-adding-duties-taxes-to-a-quote-during-review

your total collector model that should be extended from Mage_Sales_Model_Quote_Address_Total_Abstract and implement collect and fetch methods like.. total model class Your_Module_Model_Total_Custom extends Mage_Sales_Model_Quote_Address_Total_Abstract Constructor that should initiaze public function.. Used each time when collectTotals is invoked @param Mage_Sales_Model_Quote_Address address @return Your_Module_Model_Total_Custom public function..

Programatically retrieve list of all shipping methods

http://stackoverflow.com/questions/9433627/programatically-retrieve-list-of-all-shipping-methods

sense to do the filtering of allowed methods inside of Mage_Sales_Model_Quote_Address requestShippingRates I will be overriding this method of course..