All Questions
9 questions
1
vote
2
answers
554
views
How to add function to modify sitemap
I currently created an extension which does a series of works to the category and product url.
Then I need to tell Magento not to include some of the categories and products if they have certain ...
0
votes
1
answer
3k
views
sales_order_save_after Observer is preventing the order from saving
I created a module that changes a customer's group if their order is completed. I'm using magento 1.9.3.1 and my module is causing some problems when checking out as a guest.
In one example, checking ...
14
votes
4
answers
3k
views
When to dispatch events in a custom module?
This is a question regarding both Magento 1 and Magento 2.
I understand that, as a good practice, 3rd party modules developers are encouraged to dispatch events in their custom module to make it ...
0
votes
1
answer
483
views
Is there a CMS page before delete observer?
First of all, I'm attempting to tap into the pre-deletion events of the following:
Categories
Products
CMS Pages
Categories and products are fairly straight-forward, tapping the ...
1
vote
2
answers
7k
views
How to get order id and other details of order for given event observer
How to get order id and other details of order for sales_order_payment_cancel event observer. i know how to get them for checkout_onepage_controller_success_action. But that method is not working in ...
3
votes
1
answer
2k
views
How to stop process or flow of a event observer
Please someone tell me how to stop process(flow) of any event observer.
i.e an event observer if - "before_create_account"
i know this i can use this event and do something before a new account ...
0
votes
2
answers
759
views
How to register more than 1 event observer in config.xml
How to register more than 1 event observer in config.xml
If called methods are in same class & file.
When using both observer seprately(registering them seprately) both are working. But when both ...
1
vote
3
answers
2k
views
Simple event observer not working in
even my complete module was working with default installation.
config.xml
<?xml version="1.0"?>
<config>
<modules>
<Barcatsia_Smsntf>
...
2
votes
0
answers
106
views
Using Plugin to Insert HTML [closed]
I am creating a Magento plugin/module which I would like to have insert html in various places on my site, such as for adding statistics in the footer - one version for the admin footer and another ...