How to Install Magento 2.3.2 with Sample Data Under Local Host?

Download magento2.3.2 at magento.com/tech-resources/download, Remember use 127.0.0.1, instead of using localhost to intall magento. Otherwise, you will meet an error when you login the admin panel. You may also meet a black page when you login the admin panel even if you use 127.0.0.1. How to resolve this issue then? Very easy, go to vendor\magento\framework\View\Element\Template\File, […]

Change mangeto domain name

4 steps: first, upload all files to your new web hosting; second, restore your mysql database to your new one; third, edit /app/etc/local.xml, and update to your new mysql database information, take care the following code:

How to remove magento parent category path from sub category url

How to remove parent category path from sub category url? Instance: http://www.eye4eyeglasses.com/eyeglasses/cheap-eyeglasses I just want the category c url is http://www.eye4eyeglasses.com/cheap-eyeglasses Edit /app/code/core/Mage/Catalog/Model/Url.php Find around line 632 and change: //if (null === $parentPath) { //$parentPath = $this->getResource()->getCategoryParentPath($category); //} //elseif ($parentPath == ‘/’) { $parentPath = ”; //}

How to Get Customers Full Name from Magento?

We can use mysql to get customers’ full name, you can add customer’s email also by using mysql clause, for example, we need to search 10,000 customers from Canada, and save the result a to a new table, say aaa_ca_custoemr, here the code:

Can’t login to admin after installation of Magento

I am running Vista Home basic system, and I play Xampp, after I have installed Magento, I found I can not login the admin panel. I found the problem is in Session, magento can not set session and always create it again, that is why logination does not work. -Go to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento […]

Apache HTTP server has stopped working when install Magento

Today I am up to the configuration stage in the Installation of Magento on my own localhost server but when I press continue Iget a message from windows saying ‘apache http server has stopped working, close program’ . I am install Magento under Xampp 1.7 for windows platform, and I use Vista Home Basic System.