Search Results
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 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
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 |
Event/observer is used to work dynamically with Magento without altering the core code.
0
votes
I want to get product id after order is paced using observer
you can do below way
<?php
namespace VendoreName\ModuleName\Observer;
class Customorder implements \Magento\Framework\Event\ObserverInterface
{
public function execute(\Magento\Framework\Event\ …
1
vote
My custom observer not working
Adding to @Marius answer change class name in your observer as shown below
<?php
class CustomPriceUpdate_Event_Model_Observer{
public function update_price($observer){
Mage::log("Order i …
1
vote
Accepted
Event dispatched on filter applied in Product Listing/Category View page
catalog_block_product_list_collection
catalog_product_collection_load_before
catalog_product_collection_load_after
I think you can use above events for your purpose
when you initially load on lis …
0
votes
How to create a event observer which trigger after a customer placed an order
just replace with .
Instead of
<checkout_onepage_controller_success_action>
replace with
<sales_order_place_after>
and your Observer.php class name should be Maddy_Checkout_Model_Observer
1
vote
send a variable from the event observer the magento back end
You can use magento registry for that
for adding data to registory
Mage::register('my_data', $mydata);
and getting data from registry where you want to use
print_r(Mage::registry('my_data'));
u …
2
votes
Event for cart update
there are many cart event you can observe its completely depending on your requirement
checkout_cart_add_product_complete
checkout_cart_update_item_complete
checkout_cart_product_add_after
checkout_ …
0
votes
Observer not firing when trying to add button to module admin interface
I think you have problem with your config.xml file please change as below.
<?xml version="1.0"?>
<config>
<modules>
<Ds_Imports>
<version>1.0.0</version>
</Ds_Imports>
</modules>
< …
1
vote
Magento : Not able to set posted value in the observer
First thing for post value
Mage::app()->getRequest()->getParams() will not work you have to use
Mage::app()->getRequest()->getPost()
1
vote
Accepted
Magento getAction() not work on 1.7.0.2
again same kind of answer from my side for you,
You can try below code for your requirement
if (in_array('sales_order_reorder', Mage::app()->getLayout()->getUpdate()->getHandles())){
//your c …
0
votes
Run a function before a specific page load
in this controller_action_predispatch event you can do your logic
in this event check your handler and if you found your handler then run that helper function
0
votes
Event in Magento-2?
in this case you can use following event
<event name="controller_action_predispatch_customer_section_load" >
No need to check that condition
6
votes
Accepted
can we create two observer with same event in Magento2?
Yes you can create multiple observer for same event
Its broadcast and listener kind of relationship
where the dispatch code is broadcaster and the all observers are listeners
even you can obse …
0
votes
Which event observer is triggered when a wishlist is created or updated?
You can use below events for your purpose:
please check and try and let me know which work best for you
1) wishlist_add_product
2) wishlist_update_item
3) wishlist_add_item
4) wishlist_product_ad …
0
votes
Magento2 : Quote Value in Observer Gets NULL
this class app/code/Magento/Payment/Model/Method/AbstractMethod.php is having this dispatch event
in this event magento passes three parameter
[
'result' => $checkResult,
'method_instance' => …
0
votes
Accepted
Magento capture all emails
I dont know about the enterprise edition but I am pretty sure that there is no event in ce
You can achieve this functionality by rewriting this classes
Mage_Core_Model_Email_Template and Mage_Core …