Skip to main content
43 votes
Accepted

Magento 2 did not sign in correctly or your account is temporarily disabled

After some search on the internet, I found that due to security reasons Magento has introduced account disabled functionality with considering the security of the business. Here is how you can unlock ...
Yogesh Trivedi's user avatar
23 votes
Accepted

Magento 2: Not showing customers in backend grid

Looks like some error happened in the process of re-index and index status left processing. You need to reset it DB. For example by query: update indexer_state set status = 'invalid' where status != ...
KAndy's user avatar
  • 20.9k
23 votes

Magento 2: Not showing customers in backend grid

Magento 2 not showing customers in backend grid: Run the below commands for fix 1) php bin/magento indexer:reset customer_grid 2) php bin/magento indexer:reindex customer_grid Thanks!
Nithin Ninan's user avatar
23 votes
Accepted

How to show success message in session Magento2

In Magento 2, we can do achieve this in two steps: First, we need to assign the message to 'messageManager' from your module as below: $this->messageManager->addSuccess(__('This is a success ...
Jino's user avatar
  • 793
20 votes

Magento 2 did not sign in correctly or your account is temporarily disabled

Please try to reset username and password . I have tried the following code that works for me. sudo php bin/magento admin:user:create --admin-user="pearlbells" --admin-password="pear122l**all" --...
Liz Eipe C's user avatar
  • 1,296
18 votes

Magento2 Correct Way to get Order items

This is how the different methods to get items from an order work: getItems(): returns array of items from loaded order item collection getAllItems(): returns array of all items that are not marked ...
Fabian Schmengler's user avatar
15 votes

How to show success message in session Magento2

Magento2 is using MessageInterface to add all message, please use below code to show Messages Magento Message Framework class use \Magento\Framework\Message\ManagerInterface; use below code in your ...
Rahul Anand's user avatar
13 votes

Magento 2: new attribute not showing in list configurable product

If you want to use an Attribute for Configurations, you have to make sure, that it has the Scope Global. That is (I think) like this, because it does not make sense to override a configuration ...
David Verholen's user avatar
10 votes
Accepted

How to stay logged into Magento 2.0 longer

Go to Stores > Config > Advanced > Admin > Security and edit the Admin Session Lifetime field. This is in seconds, for development purposes I usually go for 28800 which is 8 hours.
Ben Crook's user avatar
  • 15.7k
6 votes

How to edit the footer links in magento 2

All footer links are coming from default.xml files. Privacy and cookie policy link: vendor/magento/module-cms/view/frontend/layout/default.xml Search Terms link: vendor/vendor/magento/module-search/...
Rakesh Jesadiya's user avatar
6 votes
Accepted

In magento 2 how to edit the phtml file?

Make sure that you paste the topmenu.phtml file under app/design/frontend/<vendor_name>/<theme_name>/Magento_Theme/templates/html/ folder! Also copy the layout files which you need app/...
Asish Hira's user avatar
  • 1,991
6 votes

Magento 2: Not showing customers in backend grid

Best option is to reset and then reindex via CLI php bin/magento indexer:reset customer_grid php bin/magento indexer:reindex customer_grid
Alta Works's user avatar
6 votes

Magento 2 did not sign in correctly or your account is temporarily disabled

I struggled to solve this when working with multiple environments, and I think Jairmin's answer might help stop this happen, but once it has I found the following steps solved the problem: Try what ...
tim.baker's user avatar
  • 843
5 votes
Accepted

Magento 2 Import Export - Configurable Products

Yes, Magento 2 provides utility to import configuarble product with it's associated product via CSV Please refer following link. http://www.lexiconn.com/blog/2016/01/magento-2-import-configurable-...
Praful Rajput's user avatar
5 votes

Magento2: How to add different custom css file on specific CMS pages

You can add Layout Update XML update GOTO ADMIN -> Content -> Pages -> Edit page -> Design -> Layout Update XML With the content : <head> <css src="Namespace_YourModule::...
Franck Garnier's user avatar
4 votes

You don't have permission to access /pub/static/frontend/Magento/luma/en_US/Magento_Checkout/template/minicart/content.html on this server

To resolve your issue with permission permanently, you need to set your primary user group in Linux to be "www-data" most of the time but you need to check your which apache belongs to. To check ...
Timik's user avatar
  • 478
4 votes

Magento 2 Import Export - Configurable Products

Please check below link to get proper idea for import & export product in Magento 2 http://www.lexiconn.com/blog/2016/01/magento-2-import-configurable-products/
Nits's user avatar
  • 2,506
4 votes
Accepted

Magento 2 Admin Panel hangs forever until page refresh

UPDATE It seems like updating Firefox to 46 fixes the issue! Original investigations As I'm also facing this annoying problem I decided to give it a try. Configuration Ubuntu Server 12.4 PHP 5.5....
Raphael at Digital Pianism's user avatar
4 votes

product not show in category page in magento 2.0.2

You have to remove var folder from root and try commands using cli: php bin/magento setup:static-content:deploy php bin/magento indexer:reindex Clear browser cache and try again.
Rakesh Jesadiya's user avatar
4 votes
Accepted

Explanation regarding phtml coding in magento 2

First of all, footer.phtml file doesn't seem to be used anywhere, just in single Test class. But speaking about concept, this is pretty easy :) You can create single block, with single .phtml ...
Bartłomiej Szubert's user avatar
4 votes

Magento 2: new attribute not showing in list configurable product

In short, your attribute must have 'frontend_input' = 'select', 'is_user_defined' = 1, 'is_global' = 1 Please see answer here https://magento.stackexchange.com/a/206549/4831
Chuongnh's user avatar
  • 199
4 votes

Magento2 Correct Way to get Order items

Best way to get order items is using $order->getAllVisibleItems() Explained by fschmengler above, getAllItems(): This function returns array of all items of cart with config simple product also. ...
Rakesh Jesadiya's user avatar
4 votes

Magento 2 (CE) not displaying the Checkout page

If you are using wamp server on windows localhost then, you can try this: C:\wamp\bin\php\php5.5.12>php.exe C:\wamp\www\\bin\magento setup:static-content:deploy in your CLI.
MaYaNk's user avatar
  • 1,730
4 votes

Magento 2 did not sign in correctly or your account is temporarily disabled

In magento 2, there is configuration for set Password Lifetime (days). It means if user didn't login in admin specific days then account will be locked. For set this days go to Stores > ...
Jaimin Parikh's user avatar
4 votes

Magento 2 did not sign in correctly or your account is temporarily disabled

I tried this options and various other options but none worked for me : I followed this : 1./opt/bitnami/apps/magento/htdocs/vendor/zendframework/zend-crypt/src updated utils.php to following: Go ...
Big Bang Things Consultants 's user avatar
3 votes

In magento 2 how to edit the phtml file?

You have to set topmenu.phtml file inside below folder, You have to just create templates folder inside it. app/design/frontend/<vendor_name>/<theme_name>/Magento_Theme/templates/html/...
Rakesh Jesadiya's user avatar
3 votes

Magento2: frontend event is not working (sales_order_place_after)

In case you do not want to listen to the sales_order_place_after event globally, the correct scope would be webapi_rest instead of frontend.
mam08ixo's user avatar
  • 2,963
3 votes

Magento Catalog Product Images are not showing

You need to regenerate cache image : Navigate System->Cache Management under Additional Cache Management click on Flush Catalog Images Cache clear your cache and refresh the page now you are able to ...
Arunendra's user avatar
  • 7,458
3 votes

You don't have permission to access /pub/static/frontend/Magento/luma/en_US/Magento_Checkout/template/minicart/content.html on this server

I have same issue but fix it using folowing step : Run following command php bin/magento setup:static-content:deploy Run php bin/magento setup:upgrade Run php bin/magento setup:di:compile Run php ...
Manish's user avatar
  • 3,116
3 votes

Test configuration pages with AbstractBackendController: testAclNoAccess fails

Does it make sense to change the test to expect a 302 status code? Yes. The below overrides the default implementation for testAclNoAccess() and checks that a redirect happens when accessing the ...
Kristof at Fooman's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible