walter_alf Posted October 16, 2013 Share Posted October 16, 2013 Hello, I have problem with changing id_guest in customer. I created new account and after that I changed e-mail and I signed out. When I logged in again, my id_guest was new. Somebody knows where does presta create new id_guest? Link to comment Share on other sites More sharing options...
NemoPS Posted October 16, 2013 Share Posted October 16, 2013 Hi, and welcome to the forums. I'm a bit confused on what you mean. You create a new account: guest or normal? I guess you mean normal as you mention signing out. Then, you change the email on this account, and try logging in. With which email? So, basically, you are asking how prestashop creates guest ids? Link to comment Share on other sites More sharing options...
walter_alf Posted October 16, 2013 Author Share Posted October 16, 2013 thanks for fast reply;) I mean normal account. Customers can personalization products in my shop. They are able to create projects and save it. Project data is saved to datebase. Id_guest is in project data (I take it from Tools::getRealUID()), beacaus I have to join project and customer:) Today I noticed the problem, during testing shop (it doesn't work yet), when I was changing data in my account I lost all my projects. Id_guest was changed and I can't see my projects. So, I have to know where and when does presta change id_guest for customer. Where is it in code? When I find it, I will fix it:) Link to comment Share on other sites More sharing options...
Recommended Posts