Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options answers only user 217

Event/observer is used to work dynamically with Magento without altering the core code.

6
votes
I use the event salesQuoteCollectTotalsBefore set the price on the product and then it is transfered to the quoteItem: public function salesQuoteCollectTotalsBefore(Varien_Event_Observer $observer) { …
answered May 12 '13 by Fabian Blechschmidt
2
votes
What passed is an Varien_Event_Observer $observer with the following data: Mage::dispatchEvent('catalog_product_get_final_price', array('product' => $product, 'qty' => $qty)); $observer->getData() = …
answered Dec 10 '13 by Fabian Blechschmidt
1
vote
PHP is not parallel. event1 thrown observer1 run event2 thrown observer2 thrown So, whatever you do, when the event is fired and the observer catched your event it runs. The order is depen …
answered Jul 21 '14 by Fabian Blechschmidt
0
votes
Sounds like someone made it wrong and instanciated with new instead of the factory methods getSingleton() and getModel() there is no way to fix this in your module. So if you want to have the correct …
answered May 6 '13 by Fabian Blechschmidt
1
vote
Will magento log work on Observer.php? Yes How to know whether my custom method triggered? Just try it out: require 'Mage.php'; Mage::app(); Mage::dispatchEvent('whatever'); …
answered May 26 '15 by Fabian Blechschmidt
2
votes
Although I like Lesti_Fpc a lot, I can recommend DieHard as well. And even if you don't want to use these, you can check what events they use.
answered Oct 4 '15 by Fabian Blechschmidt
9
votes
Just throw an Exception: Mage::throwException('My Error message') Than the save is avoided and the error message is shown
answered Sep 1 '14 by Fabian Blechschmidt
1
vote
I don't know wether your conditions work, I leave that up to you. The problem with the error comes - I assume - because the addProduct() is not inside a try/catch block. The default Magento Controlle …
answered Aug 7 by Fabian Blechschmidt
3
votes
I would say to do things after the rendering (and after sending away the response?) If you want to do things before rendering, just use: \Mage_Core_Controller_Varien_Action::renderLayout app/code/co …
answered May 22 '14 by Fabian Blechschmidt
1
vote
You need to change the customergroup before_save Beside this, you better use customer_register_success. Unfortunately the customer is saved also, so you have to call $customer->save() again.
answered Oct 1 '15 by Fabian Blechschmidt
100
votes
There is not a list of all magento events, because most of the events are dynamically named. If you ask me, knowing these key events (and the consequences) is a good starting point (beside the list f …
answered Jan 24 '13 by Fabian Blechschmidt
1
vote
Why my custom datas customer_nick_name and customer_photo are not visible in the output ? Because they are not processed, this happens here: \Mage_Adminhtml_CustomerController::saveAction /** @v …
answered Mar 13 '14 by Fabian Blechschmidt
0
votes
Afaik there is still no event in the while mailing system of magento. Neither in Mage_Core_Model_Email_Template nor in Mage_Core_Model_Email therefore you have to do what Samir is part 3 to rewrite th …
answered Jul 1 '14 by Fabian Blechschmidt
2
votes
Get a dev environment you can test what you are doing, this is a horrible comment: All I can do is log data since I cant stop the event to see it;s output when a live order is made. You can just …
answered Jul 16 '15 by Fabian Blechschmidt
0
votes
What about sales_quote_save_before for checking and adding/removing
answered Feb 25 '14 by Fabian Blechschmidt

15 30 50 per page