Skip to content
Advertisement

Tag: cart

Magento, getSubtotal and getGrandTotal always return zero

I have a weird problem. I have developed a module which adds a line to totals according to some value in database. But in my module model (which is inherited from Mage_Sales_Model_Quote_Address_Total_Abstract) when I call or or any other totals method, I get zero (0) returned. But in phpmyadmin, I see that those values are not zero. Any other column

Advertisement