Jump to content

[solved] unable to add items to cart when user is logged in


Recommended Posts

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...