Have you ever forgotten a password for your prestashop store? Or maybe you are looking for good working solution.A re you tired of trying to get to the your store back office? I think you've come to the right place :) Today we will show you a reliable way to restore your prestashop back office password . This tutorial works for all prestashop version! No matter which version you use, it will works always!
Preparing to the padlock open process - the first step in this tutorial
For the first you must have got an access to your prestashop database. Without this it will be difficult to restore own prestashop administrator access to back office of the store. It doesnt matter what kind of software you will use, you can use phpmyadmin or other software like mysql workbench orheidisql.
Let's start.
Ok, for the first you must go to the front office of your store. Yes! i wrote front office. If you are ready - create new customer account in your store. Customer account with correct values, Enter your password carefully, It is very important! This password will be your future password for the admin account in back office. Send the registration form and open one of the database manager and load your store table. We will show you how whole proccess looks with phpmyadmin (in most webhosting providers this is default software to manage database so you've got probably access to it).
We created an account for fake customer mail demo@demo.com with name Johnny Depp ;) and password pass1234
The customer database - pulling out the key to the padlock
Ok, so right after account creation for fake Johnny Depp customer, you must open your shop database in some database manager, we will use phpmyadmin to show you how it looks and what you have to do. You are looking for table called prefix_customers. Prefix in most cases is set up to PS - so you are lookin for table named ps_customers. Open it and you will see your shop customers accounts. browse the list of accounts and find account for (in this case) Johnny Depp - it's probaby last position on list. You will see probably something like:
All you need to do is copy (ctrl+c) passwd row value for new account. Be careful and copy it perfectly without any mistakes. It's important! if you copy it wrong - new password for your back office admin account will not work. If you are, if you are sure that you copy it right, you can go to the next step.
Insert the key into the padlock
Now you must open ps_employee table in your shop database and search for your admin account. All you need to do is paste copied passwd value to your account passwd row. Just edit this line and press ctrl+v to paste value to the field. Save changes and thats all! Now you can try to log in into back office with your admin account email and copied password, in this case we create fake account with password: pass1234. And in this case and tutorial - this is our new admin password!
Now you've got access to your back office again! Padlock is now open! ;)
after all you can of course delete fake Johnny Depp account from your ps_customer table ;)