mebjas Posted July 20, 2013 Share Posted July 20, 2013 I have added a feature by which cart can be generated using url like http://domainname.co...ese=1_2;2_1;3_3 this is working fine as far as no client is logged in but not when user is logged in.Any idea what can be the problem Link to comment Share on other sites More sharing options...
mebjas Posted July 20, 2013 Author Share Posted July 20, 2013 Ok I have found the reason, the functions are called only when user is not logged in public function postProcess() { // Update the cart ONLY if $this->cookies are available, in order to avoid ghost carts created by bots if ($this->context->cookie->exists() && !$this->errors && !($this->context->customer->isLogged() && !$this->isTokenValid())) can anybody tell me which controller/function is run when user is logged in Link to comment Share on other sites More sharing options...
vekia Posted July 20, 2013 Share Posted July 20, 2013 thanks for information, i marked this thread as [solved] in the future please don't tuplicate threads. if you've got any questions, please continue discussion there: http://www.prestashop.com/forums/topic/262935-unable-to-delete-cart-as-a-logged-in-user/page__fromsearch__1 Link to comment Share on other sites More sharing options...
Recommended Posts