I am logged in my local machine as customer and magento header not displaying the name of logged in user.

I am also tried to add product but cart is empty.

Give me your suggestions to resolve this issue.

Thanks in Advance.enter image description here

  • Have you checked in console? Facing any issue? – Rutvee Sojitra May 17 '19 at 10:04
  • update your url which is use in local machine – Savan Patel May 17 '19 at 10:07

Update your host file.

/etc/hosts localhost

And also update your database table "core_config_data" web/unsecure/base_url "http://localhost/magento226/" to "" web/secure/base_url "http://localhost/magento226/" to ""

Then after please follow below command:

rm -rf generated/metadata/ generated/code/ var/cache/ var/view_preprocessed/ var/page_cache/ var/composer_home/ pub/static/frontend/
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.