Magento 2 Create custom event and observer using events.xml programmatically.

Magento 2 Supports Create Custom Event Observer with your event name.

Under your module with the event defines using dispatch() method and events.xml file. You can Handle the Events data using Observer Class. Continue reading “Magento 2 Create custom event and observer using events.xml programmatically.”

How to remove refunds link from the Order page Magento 2?

Customers can track the status of their orders refunds from the dashboard of their accounts, My orders tab.

Refunds are the translated string label for Creditmemo functionality.

Continue reading “How to remove refunds link from the Order page Magento 2?”

How to remove Invoices link from the Order View page Front area Magento 2?

Order View Page in frontend Magento 2, Contains Multiple links related to Order flows like Invoice, shipment, and refunds.

If you want to remove the Invoices link from the Order detail page, Customer Dashboard, My Orders tab You need to override sales_order_info_links.xml file. Continue reading “How to remove Invoices link from the Order View page Front area Magento 2?”