- Magento Development
- Magento Services
- Industry Solutions
- Hire Magento Developer
Magento provides three redirect functions for front-end controller.
Now, let’s talk about them.
The first function is _redirect($path)
This function used for internal redirection.
The second function is _redirectUrl($path)
This function used for external redirection.
Third function is _redirectReferer()
This function used to redirect to the referral url.
As you can see, all functions has different roles to play. Thus, use them very wisely. Happy coding!
create the event.xml on your module under the Vendor/Module/etc/event.xml and...
If you need a custom meta tag for a specific...
Generally, if you load font as preload, it will load...
Step 1: First you need to add di.xml in the...
Override the vendor/magento/module-sales/view/frontend/templates/email/items/order/default.phtml file on your theme and add the...