How to Install Magento 2 Blog Extension for Magento 2.3.6 under CentoOS 7?

I have installed magento 2.3.6 under http://www.cheapglasses123.com , by default, there is not blog extension, so I plan to install the free blog extension from  magefan.com/magento2-blog-extension. To install Magento 2 Blog Extension by Magefan, please use one of these installation methods. Installation Method 1 – Installing via Composer (recommended) Open command line Using command “cd” […]

Magento 2.3.6: Need To Remove .Html Product URL Suffix

I have installed magento 2.3.6 under https://www.cheapglasses123.com How to remove .html from category and product url? Admin Path: Stores->Configuration->Catalog click on Search Engine Optimization tab Here you can remove below-mentioned fields: Product URL Suffix Category URL Suffix Make these fields blank (remove .html from both fields) save the config and reindex and clear cache of […]

How to Install Magento 2.3.6 Using Composer?

Say we plan to install magento 2.3.6 under https://www.cheapglasses123.com . We are using CentOS 7, Apache 2.4 Step One: composer create-project –repository-url=https://repo.magento.com/ magento/project-community-edition=2.3.6  . Step Two: cd /cheapglasses123.com/html/   <magento install directory> find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + find var generated vendor pub/static pub/media app/etc -type d -exec […]

How can I change the default product images sizes on Magento ver. 2.3.5-p1

Magento 2.3.5 uses the file called view.xml which is maintained at the theme level of the application. So for example, if you are using the default theme luma you should find the view.xml under vendor/magento/theme-frontend-luma/etc/view.xml In this file, you would see <images/> node inside the <media> node. public_html/cheapglasses123.com/vendor/magento/theme-frontend-luma/etc/view.xml The dimension of the images is maintained […]

Invalid input datetime format of value: Magento ver. 2.3.5-p1

I have installed Magento ver. 2.3.5-p1 , the main shop is https://www.eyewearcanada.com , I also have set up a USA shop, the domain name is https://www.cheapglasses123.com. I add a new product via https://www.eyewearcanada.com , the product can be added, and display properly when I edit this product and save it, I got the wrong message: […]

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 = ”; //}