Magento root@localhost permission denied

If you found error while firing magento 2 commands then it may be problem due to you don’t have execute permission for binaries. To fix it please do following cd to your magento root directory Fire command  chmod u+x bin/magento if above command not working then fire with admin account sudo chmod u+x bin/magento Now check commands it should start

Read more

Magento 2 remove buttons like add,delete back

How to remove magento 2 buttons from grid and forms this->removeButton(‘reset’); $this->removeButton(‘back’); this->removeButton(‘add’); $this->removeButton(‘delete’);

Read more

How to Enable Google Analytics Ecommerce Tracking

How to enable Google Analytics Ecommerce Tracking Login to google analytics Account In Google Analytics Click on Admin In Left side Account panel select account In Middle Panel Select Property for which you want to enable google analytics ecommerce tracking In Third Panel Select View for which you want to enable google analytics ecommerce tracking Click on view settings Click

Read more

How to remove review magento 2

How to remove Review/Ratings in magento 2 product page? Here I am demonstrating remove Review/Ratings for “Luma” theme .If you use diffrent theme then change path accordingly. If you are using custom theme then it should be available on diffrent path(ex. /app/design/frontend/NAME_SPACE/THEME_NAME 1.I am removing review/rating for “luma” so my path is “your magento root/vendor/magento/theme-frontend-luma/Magento_Theme/layout/default.xml” Open this file in edit

Read more

How to remove footer links magento 2

How to remove footer links in magento 2 ? Here I am demonstrating remove footer links for “Luma” theme.If you use diffrent theme then change path accordingly.If you are using custom theme then it should be available on diffrent path(ex. /app/design/frontend/NAME_SPACE/THEME_NAME 1.I am removing footer links for “luma” so my path is “your magento root/vendor/magento/theme-frontend-luma/Magento_Theme/layout/default.xml” Open this file in edit

Read more

How to change theme in magento 2

1.Login to admin panel. 2.Click on Content. 3.Click on Configuration. 4.Click on “Default Store View” row edit link. 5.Now select the theme from list of avilable themes. 6.Click on “Save Config”. 7.Clear the cache and then check your theme will be changed. 8.Thats all your theme is changed. See video demonstration for the same

Read more

magento 2 rest api example

Creating and using rest api in magento 2 is very easy but for that you need some startup example.Magento 2 uses token based rest api.First you need to authenticate user and get the token from magento 2.After getting token you have to pass this token to every request you performed.For example to get product details by SKU you need to

Read more

Magento 2 Create SOAP/REST API user.

How to Create Web Service Rest/Soap Role and User in Magento 2 1.Login to admin panel. 2.Click on System. 3.Click on User Role. 4.Click on User Role “Add New Role”. 5.Set Name as something like “Web Service Role”. 6.Click on “Role Resources”. 7.Set only those resources that are required for web service. 8.Click Save Role. 9.Now create user for the

Read more

Magento 2 Change Copyright text

How to change magento 2 copyright footer? 1.Login to admin panel. 2.Click on Stores 3.Click on Configuration 4.Select GENERAL Tab and click on Design 5.Click on Footer Tab 6.Change Copyright whatever you want. 7.Click on “Save Config” 8.If it ask for clear cache then clear it. 9.Thats All.See video demonstration for the same

Read more

Uninstall extension magento 2

How to disable module in magento 2 Suppose that I want to disable module called “Ashsmith_Blog” 1.Open terminal(Command Prompt) or SSH. 2.Goto Root Directory of magento by cd command 3.Type following command to disable module bin/magento module:disable Ashsmith_Blog 4.Thats All.Module is disabled.

Read more
1 2