I have a script that sends order data to a 3rd party system via a RESTful web service. This system demands that a unique ID is sent with each request, which is autoincremented from the next. I’ve …
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 1 – Where does Magento Set a Quote Item’s Price?
Whenever you load the cart page in Magento, the following code is run $cart->init(); $cart->save(); One side effect of this is that the prices for any items in the cart are updated if the …
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
why are arabic numbers (١٢٣) not accepted in textboxes as real numbers?
while developing one of my sites, i noticed that if I enter arabic numbers (١٢٣), they are not interpreted as real number values. Then, I tested a few other sites only to find that they also don’t accept arabic numbers. The problem is, my client seems to require this functionality (accepting arabic numbers).. and I have no idea where to
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”.