Skip to content
Advertisement

Tag: magento

Return data back to dispatcher from event observer in Magento

I have an extension for product registration that dispatches an event after the registration is saved. Another extension uses that event to generate a coupon for a virtual product if it is related to the registered product. I need to get back data on the generated coupon to send to the user in an email along with the details of

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

Magento Custom Payment Method: how to get data that was set via Mage_Payment_Model_Method_Abstract::assignData()?

I’m currently developing a payment method and things are working quite well. Just one thing: The customer enters some information along the payment method and through debugging I can see that it gets written into the InfoInstance via Mage_Payment_Model_Method_Abstract::assignData() Unfortunately, I can’t read that data when I’m in the capture()-Method. I retrieve the InfoInstance and try to read the information,

What is the correct URL for MAGENTO admin

I don’t know why my magento is not working any more when I hit “http://localhost.host/amuni/admin” it says Oops! This link appears to be broken. but frontend working fine please tell me what should I do. What is the correct URL? Answer Try like this: http://localhost.host/amuni/index.php/admin Note that “index.php” is added before “admin”.

Advertisement