- Our Services
- Our Packages
- About Us
- Contact Us
Magento get store information from any page In the cases where you want to display the store related information on any page or in custom locations or in extension development like getting the website details, store details etc.
Magento clear all caches from command line, programatically from ssh. Clearing the caches is a must when you are making any configuration changes in your Magento website. Although you can always clear the cache from admin panel, sometimes for faster cleaning or unable to log into admin panel reason, it’s good to have a script which will clear all the caches in Magento.
You can get the current page URL and its parameters (if any) by using getCurrentUrl() method in Magento. Below code will show you how to use it. Consider for example you have this URL: