When we migrate customers from MijoShop to OpenCart there is a little problem: the methods to hash passwords are different and thus when our customers try to login the passwords do not match. In this post I will show you how to migrate and fix the problem.
Today we will see how to reset the OpenCart password (e-commerce system in PHP) manually, directly in the database; generating the hash and the salt manually with a function created by me. Function that generates salt and new password Here I leave the code, and the explanation at the end. View the code on Gist.