By-default admin URL in Magento is “youwebsite.com/admin”, you can move to this URL and log in as Magento user administrator. But what you should do if you want to change the default path to admin panel? Here we are ready to help you with this.
Routing is the most important piece of any application or framework. This post covers the request flow of magento or routing process in magento2. The Route will define name for a module, which we may use in the url to find the module and execute the controller action.
Amount of products in your store is growing as well as your business grows and it becomes hard to maintain a huge amount of thousand products in admin panel. If you faced with such issue you probably need to try product export in CSV or XML and then import it as well we described in our previous article. Here we are describing how to export product from Magento in CSV or XML.
Quite often when working with collections in Magento need to filter collection by product attributes, here comes addAttributeToFilter method. This method works on EAV collections in Magento. For example it could be product collection, customer collections and category collections. The main aim of this method is to set WHERE condition in SQL query. Lest look at example listed below.
After launch Magento website you almost need to import products, but how we can do it? I think that the most optimal way of import products in Magento is using import/export profiles, but firstly we have to prepare import profile. By default in Magento we can import products data in two formats: CSV, ExcelXml.
Everyone knows that Magento supports comparison in email templates, but if you need to use an equal comparison to check if some variable f.e. (in order template) “shipping method” is equal to “some_cool_shipping_method” then Magento doesn’t support this construction. And what we can do we this?