Hot answers tagged

2 votes

Magento 2: how to specify the module name in custom theme?

Override the Module changes in the Theme customization by using the Module name as a directory under the Theme vendor. etc/module.xml We can use either Module name as directory from etc/module.xml <...
user avatar
  • 426
1 vote
Accepted

Magento 2: how to specify the module name in custom theme?

Go to that module folder and see registration.php file. You'll see its real name. And then use it as its written there.
user avatar
1 vote
Accepted

Magento 2.4: How to change text "Order #" to "Confirmation #" in printed page that appears post order placement?

This is the title. Check the block /** * @return void */ protected function _prepareLayout() { $this->pageConfig->getTitle()->set(__('Order # %1', $this->getOrder()->...
user avatar
  • 34.3k
1 vote

Magento 2 Module Events

To add to Philipp Sander answare, this doc is really good for the consumption of external API. https://devdocs.magento.com/guides/v2.4/ext-best-practices/tutorials/create-integration-with-api.html
user avatar
1 vote

Magento 2 Module Events

Here's a quick run down of how you could achieve that: https://devdocs.magento.com/guides/v2.4/extension-dev-guide/events-and-observers.html add a event listener in the global scope. the event should ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible