Skip to main content

Questions tagged [event-observer]

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

0 votes
1 answer
16 views

I am using stripe for payment and all working fine if stripe payment done on website itself but if stripe is used for redirect to website for payment then the observer is not working as expected. ...
urfusion's user avatar
  • 346
0 votes
0 answers
31 views

I am facing an issue in Magento 2 (MSI enabled) where creating a shipment for an order creates two entries in the inventory_reservation table for the same SKU. This is causing Salable Quantity to be ...
Abdul Rafay's user avatar
0 votes
0 answers
42 views

In Magento 2, when editing an order from the admin panel, Magento cancels the original order and creates a new one. I have added some custom fields to the sales_order table (these are not part of ...
Phạm Hòa's user avatar
0 votes
0 answers
56 views

I am having a module which gives the ability to cart with checkbox to select which items you want to proceed to checkout. Although I have an issue with Observer event and always in order I get all ...
G. G.'s user avatar
  • 1,290
0 votes
3 answers
78 views

I can clear the Tax when the subtotal is below USD800 when the front-end currency was in USD. However, if changed to another currency (e.g. HKD), the subtotal will change to 3,336.17 (HKD) instead of ...
Corey Ng's user avatar
0 votes
1 answer
51 views

I have an observer to catch the event customer_save_after when user update the information. It works well. But somewhere in my code, I also have this $customer = $this->customerRepository->...
Stern's user avatar
  • 3
0 votes
2 answers
67 views

For the reorder function, I added an Observer in my custom module that allows me to extract the quote_id. Actually my real goal is to get the increment id of the order I am reordering for. Currently ...
Jackom's user avatar
  • 513
0 votes
2 answers
86 views

I am trying to understand about the events and observers in magento. I created an observer to listen to an event in the checkout page. I have configured it and it triggers after the place order button ...
Haarish Infant Raj's user avatar
0 votes
1 answer
33 views

in my magento 2.4.4 I have placed two observers, one for intercepting the registration process (customer_register_success) and another one to intercept when the user logs in(customer_login). What I ...
Lou Nik's user avatar
  • 527
-1 votes
1 answer
69 views

In Magento 2, How to create event and observer for the REST API when an order is placed or updated. Is this possible to create event and observer for REST API?. If not, could anyone provide me with ...
Manisha G's user avatar
0 votes
1 answer
26 views

when i am using catalog_product_save_before and catalog_product_save_after this two event it will always return catalogue_product_save_before data. when I am trying to fetch the child id from the ...
RAJDIP JALONDHARA's user avatar
0 votes
1 answer
72 views

I have defined an attribute in Magento 2. When I say Dont Show in Category in this attribute, I do not want the product to be shown in Category and Search. But I don't want to completely remove the ...
ramazan çağlayan's user avatar
0 votes
0 answers
37 views

This is my PLugin : <?php namespace Vendor\Module\Plugin; use Magento\Sales\Api\Data\OrderItemExtensionFactory; use Magento\Sales\Api\Data\OrderItemInterface; use Magento\Sales\Api\Data\...
Rana Zain's user avatar
  • 731
0 votes
1 answer
51 views

i have made custom column called coord in customer_address_entity using db_schema.xml <!-- add coordinate to customer address entity --> <table name="customer_address_entity" ...
Alola's user avatar
  • 3
0 votes
0 answers
47 views

I have created an observer with this event file. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events....
Rana Zain's user avatar
  • 731

15 30 50 per page
1
2 3 4 5
144