Jump to content

Potential Issue "If no employee is assigned in the context, cart ID must be provided to this method."


Recommended Posts

Hi guys,

 

I run an eCommerce store using Prestashop, and I noticed if using the language / currency switching system while having any item in the cart, I would get the following error "If no employee is assigned in the context, cart ID must be provided to this method." - I didn't see much of this online so I thought id post about it to see if this was a common issue.

 

The way I worked around this fault was by going into the classes/Product.php file and removing the line, this seemed to stop the error page displaying, however I obviously don't know if this will cause issues down the line?

 

Any ideas here are much appreciated.

 

 

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...